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