#[repr(u8)]pub enum Pcfg11Onechannel {
Stereo = 0,
Single = 1,
}Variants§
Stereo = 0
I2S data for this channel pair is treated as left and right channels.
Single = 1
I2S data for this channel pair is treated as a single channel, functionally the left channel for this pair.
Implementations§
Trait Implementations§
Source§impl Clone for Pcfg11Onechannel
impl Clone for Pcfg11Onechannel
Source§fn clone(&self) -> Pcfg11Onechannel
fn clone(&self) -> Pcfg11Onechannel
Returns a duplicate 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 From<Pcfg11Onechannel> for u8
impl From<Pcfg11Onechannel> for u8
Source§fn from(val: Pcfg11Onechannel) -> u8
fn from(val: Pcfg11Onechannel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Pcfg11Onechannel
impl From<u8> for Pcfg11Onechannel
Source§fn from(val: u8) -> Pcfg11Onechannel
fn from(val: u8) -> Pcfg11Onechannel
Converts to this type from the input type.
Source§impl Ord for Pcfg11Onechannel
impl Ord for Pcfg11Onechannel
Source§fn cmp(&self, other: &Pcfg11Onechannel) -> Ordering
fn cmp(&self, other: &Pcfg11Onechannel) -> 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 Pcfg11Onechannel
impl PartialEq for Pcfg11Onechannel
Source§impl PartialOrd for Pcfg11Onechannel
impl PartialOrd for Pcfg11Onechannel
impl Copy for Pcfg11Onechannel
impl Eq for Pcfg11Onechannel
impl StructuralPartialEq for Pcfg11Onechannel
Auto Trait Implementations§
impl Freeze for Pcfg11Onechannel
impl RefUnwindSafe for Pcfg11Onechannel
impl Send for Pcfg11Onechannel
impl Sync for Pcfg11Onechannel
impl Unpin for Pcfg11Onechannel
impl UnwindSafe for Pcfg11Onechannel
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