#[repr(u8)]pub enum Pcfg12Onechannel {
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 Pcfg12Onechannel
impl Clone for Pcfg12Onechannel
Source§fn clone(&self) -> Pcfg12Onechannel
fn clone(&self) -> Pcfg12Onechannel
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<Pcfg12Onechannel> for u8
impl From<Pcfg12Onechannel> for u8
Source§fn from(val: Pcfg12Onechannel) -> u8
fn from(val: Pcfg12Onechannel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Pcfg12Onechannel
impl From<u8> for Pcfg12Onechannel
Source§fn from(val: u8) -> Pcfg12Onechannel
fn from(val: u8) -> Pcfg12Onechannel
Converts to this type from the input type.
Source§impl Ord for Pcfg12Onechannel
impl Ord for Pcfg12Onechannel
Source§fn cmp(&self, other: &Pcfg12Onechannel) -> Ordering
fn cmp(&self, other: &Pcfg12Onechannel) -> 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 Pcfg12Onechannel
impl PartialEq for Pcfg12Onechannel
Source§impl PartialOrd for Pcfg12Onechannel
impl PartialOrd for Pcfg12Onechannel
impl Copy for Pcfg12Onechannel
impl Eq for Pcfg12Onechannel
impl StructuralPartialEq for Pcfg12Onechannel
Auto Trait Implementations§
impl Freeze for Pcfg12Onechannel
impl RefUnwindSafe for Pcfg12Onechannel
impl Send for Pcfg12Onechannel
impl Sync for Pcfg12Onechannel
impl Unpin for Pcfg12Onechannel
impl UnwindSafe for Pcfg12Onechannel
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