pub enum ChmapPos {
Generic(ChmapGenericPos),
Specific(u16),
}Expand description
The enumeration to express channel position.
Variants§
Generic(ChmapGenericPos)
The position of channel is generic. It’s relevant to the series of SNDRV_CHMAP_XXX macro.
Specific(u16)
The position of channel is specific, programmed by driver. It’s relevant to
SNDRV_CHMAP_DRIVER_SPEC macro in UAPI of Linux kernel.
Trait Implementations§
impl Copy for ChmapPos
impl Eq for ChmapPos
impl StructuralPartialEq for ChmapPos
Auto Trait Implementations§
impl Freeze for ChmapPos
impl RefUnwindSafe for ChmapPos
impl Send for ChmapPos
impl Sync for ChmapPos
impl Unpin for ChmapPos
impl UnwindSafe for ChmapPos
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