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