Enum nrf5340_app_pac::i2s0_ns::config::channels::CHANNELS_A
source · [−]#[repr(u8)]
pub enum CHANNELS_A {
STEREO,
LEFT,
RIGHT,
}
Expand description
Enable channels
Value on reset: 0
Variants
STEREO
0: Stereo.
LEFT
1: Left only.
RIGHT
2: Right only.
Trait Implementations
sourceimpl Clone for CHANNELS_A
impl Clone for CHANNELS_A
sourcefn clone(&self) -> CHANNELS_A
fn clone(&self) -> CHANNELS_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CHANNELS_A
impl Debug for CHANNELS_A
sourceimpl From<CHANNELS_A> for u8
impl From<CHANNELS_A> for u8
sourcefn from(variant: CHANNELS_A) -> Self
fn from(variant: CHANNELS_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CHANNELS_A> for CHANNELS_A
impl PartialEq<CHANNELS_A> for CHANNELS_A
sourcefn eq(&self, other: &CHANNELS_A) -> bool
fn eq(&self, other: &CHANNELS_A) -> bool
impl Copy for CHANNELS_A
impl StructuralPartialEq for CHANNELS_A
Auto Trait Implementations
impl RefUnwindSafe for CHANNELS_A
impl Send for CHANNELS_A
impl Sync for CHANNELS_A
impl Unpin for CHANNELS_A
impl UnwindSafe for CHANNELS_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more