pub struct PdmSlotMask(/* private fields */);Expand description
Active PDM slot selection.
Implementations§
Source§impl PdmSlotMask
impl PdmSlotMask
Sourcepub const LINE0_LEFT: Self
pub const LINE0_LEFT: Self
Line 0, left slot.
Sourcepub const LINE0_RIGHT: Self
pub const LINE0_RIGHT: Self
Line 0, right slot.
Sourcepub const LINE1_LEFT: Self
pub const LINE1_LEFT: Self
Line 1, left slot.
Sourcepub const LINE1_RIGHT: Self
pub const LINE1_RIGHT: Self
Line 1, right slot.
Sourcepub const LINE2_LEFT: Self
pub const LINE2_LEFT: Self
Line 2, left slot.
Sourcepub const LINE2_RIGHT: Self
pub const LINE2_RIGHT: Self
Line 2, right slot.
Sourcepub const LINE3_LEFT: Self
pub const LINE3_LEFT: Self
Line 3, left slot.
Sourcepub const LINE3_RIGHT: Self
pub const LINE3_RIGHT: Self
Line 3, right slot.
Sourcepub fn for_mode(mode: PdmSlotMode) -> Self
pub fn for_mode(mode: PdmSlotMode) -> Self
Default mask for the given mono/stereo mode.
Trait Implementations§
Source§impl Clone for PdmSlotMask
Available on crate feature unstable only.
impl Clone for PdmSlotMask
Available on crate feature
unstable only.Source§fn clone(&self) -> PdmSlotMask
fn clone(&self) -> PdmSlotMask
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PdmSlotMask
Available on crate feature unstable only.
impl Debug for PdmSlotMask
Available on crate feature
unstable only.Source§impl Hash for PdmSlotMask
Available on crate feature unstable only.
impl Hash for PdmSlotMask
Available on crate feature
unstable only.Source§impl PartialEq for PdmSlotMask
Available on crate feature unstable only.
impl PartialEq for PdmSlotMask
Available on crate feature
unstable only.impl Copy for PdmSlotMask
Available on crate feature
unstable only.impl Eq for PdmSlotMask
Available on crate feature
unstable only.impl StructuralPartialEq for PdmSlotMask
Available on crate feature
unstable only.Auto Trait Implementations§
impl Freeze for PdmSlotMask
impl RefUnwindSafe for PdmSlotMask
impl Send for PdmSlotMask
impl Sync for PdmSlotMask
impl Unpin for PdmSlotMask
impl UnsafeUnpin for PdmSlotMask
impl UnwindSafe for PdmSlotMask
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)