Enum alsa::pcm::ChmapPosition
source · pub enum ChmapPosition {
Show 33 variants
Unknown = 0,
NA = 1,
Mono = 2,
FL = 3,
FR = 4,
RL = 5,
SR = 10,
RC = 11,
FLC = 12,
FRC = 13,
RLC = 14,
RRC = 15,
FLW = 16,
FRW = 17,
FLH = 18,
FCH = 19,
FRH = 20,
TC = 21,
TFL = 22,
TFR = 23,
TFC = 24,
TRL = 25,
TRR = 26,
TRC = 27,
TFLC = 28,
TFRC = 29,
TSL = 30,
TSR = 31,
LLFE = 32,
RLFE = 33,
BC = 34,
BLC = 35,
BRC = 36,
}
Expand description
SND_CHMAP_xxx constants
Variants§
Unknown = 0
NA = 1
Mono = 2
FL = 3
FR = 4
RL = 5
SR = 10
RC = 11
FLC = 12
FRC = 13
RLC = 14
RRC = 15
FLW = 16
FRW = 17
FLH = 18
FCH = 19
FRH = 20
TC = 21
TFL = 22
TFR = 23
TFC = 24
TRL = 25
TRR = 26
TRC = 27
TFLC = 28
TFRC = 29
TSL = 30
TSR = 31
LLFE = 32
RLFE = 33
BC = 34
BLC = 35
BRC = 36
Implementations§
source§impl ChmapPosition
impl ChmapPosition
sourcepub fn all() -> &'static [ChmapPosition]
pub fn all() -> &'static [ChmapPosition]
Returns a slice of all possible values; useful for iteration
Trait Implementations§
source§impl Clone for ChmapPosition
impl Clone for ChmapPosition
source§fn clone(&self) -> ChmapPosition
fn clone(&self) -> ChmapPosition
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 ChmapPosition
impl Debug for ChmapPosition
source§impl Display for ChmapPosition
impl Display for ChmapPosition
source§impl Hash for ChmapPosition
impl Hash for ChmapPosition
source§impl Ord for ChmapPosition
impl Ord for ChmapPosition
source§fn cmp(&self, other: &ChmapPosition) -> Ordering
fn cmp(&self, other: &ChmapPosition) -> 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 ChmapPosition
impl PartialEq for ChmapPosition
source§fn eq(&self, other: &ChmapPosition) -> bool
fn eq(&self, other: &ChmapPosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ChmapPosition
impl PartialOrd for ChmapPosition
source§fn partial_cmp(&self, other: &ChmapPosition) -> Option<Ordering>
fn partial_cmp(&self, other: &ChmapPosition) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ChmapPosition
impl Eq for ChmapPosition
impl StructuralEq for ChmapPosition
impl StructuralPartialEq for ChmapPosition
Auto Trait Implementations§
impl RefUnwindSafe for ChmapPosition
impl Send for ChmapPosition
impl Sync for ChmapPosition
impl Unpin for ChmapPosition
impl UnwindSafe for ChmapPosition
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