#[repr(u8)]pub enum SerialFormat {
I2s = 0,
LeftJustified = 1,
Reserved = 2,
DspPcm = 3,
}Variants§
I2s = 0
I²S (default).
LeftJustified = 1
Left justified.
Reserved = 2
Reserved.
DspPcm = 3
DSP/PCM mode. SdpIn::sdp_in_lrp selects mode A or B.
Implementations§
Source§impl SerialFormat
impl SerialFormat
Trait Implementations§
Source§impl Clone for SerialFormat
impl Clone for SerialFormat
Source§fn clone(&self) -> SerialFormat
fn clone(&self) -> SerialFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SerialFormat
Source§impl Debug for SerialFormat
impl Debug for SerialFormat
impl Eq for SerialFormat
Source§impl Format for SerialFormat
impl Format for SerialFormat
Source§impl PartialEq for SerialFormat
impl PartialEq for SerialFormat
impl StructuralPartialEq for SerialFormat
Auto Trait Implementations§
impl Forget for SerialFormat
impl Freeze for SerialFormat
impl Move for SerialFormat
impl RefUnwindSafe for SerialFormat
impl Send for SerialFormat
impl Sync for SerialFormat
impl Unpin for SerialFormat
impl UnsafeUnpin for SerialFormat
impl UnwindSafe for SerialFormat
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