pub enum SelemChannelId {
Unknown = -1,
FrontLeft = 0,
FrontRight = 1,
RearLeft = 2,
RearRight = 3,
FrontCenter = 4,
Woofer = 5,
SideLeft = 6,
SideRight = 7,
RearCenter = 8,
Last = 31,
}
Expand description
Wrapper for SND_MIXER_SCHN_* constants
Variants§
Unknown = -1
FrontLeft = 0
FrontRight = 1
RearLeft = 2
RearRight = 3
FrontCenter = 4
Woofer = 5
SideLeft = 6
SideRight = 7
RearCenter = 8
Last = 31
Implementations§
Source§impl SelemChannelId
impl SelemChannelId
Sourcepub fn all() -> &'static [SelemChannelId]
pub fn all() -> &'static [SelemChannelId]
Returns a slice of all possible values; useful for iteration
Source§impl SelemChannelId
impl SelemChannelId
pub fn mono() -> SelemChannelId
Trait Implementations§
Source§impl Clone for SelemChannelId
impl Clone for SelemChannelId
Source§fn clone(&self) -> SelemChannelId
fn clone(&self) -> SelemChannelId
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SelemChannelId
impl Debug for SelemChannelId
Source§impl Display for SelemChannelId
impl Display for SelemChannelId
Source§impl Hash for SelemChannelId
impl Hash for SelemChannelId
Source§impl Ord for SelemChannelId
impl Ord for SelemChannelId
Source§fn cmp(&self, other: &SelemChannelId) -> Ordering
fn cmp(&self, other: &SelemChannelId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SelemChannelId
impl PartialEq for SelemChannelId
Source§impl PartialOrd for SelemChannelId
impl PartialOrd for SelemChannelId
impl Copy for SelemChannelId
impl Eq for SelemChannelId
impl StructuralPartialEq for SelemChannelId
Auto Trait Implementations§
impl Freeze for SelemChannelId
impl RefUnwindSafe for SelemChannelId
impl Send for SelemChannelId
impl Sync for SelemChannelId
impl Unpin for SelemChannelId
impl UnwindSafe for SelemChannelId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more