Enum esp32c3_hal::i2s::DataFormat
source · pub enum DataFormat {
Data32Channel32,
Data32Channel24,
Data32Channel16,
Data32Channel8,
Data16Channel16,
Data16Channel8,
Data8Channel8,
}
Expand description
Supported data formats
Variants§
Data32Channel32
Data32Channel24
Data32Channel16
Data32Channel8
Data16Channel16
Data16Channel8
Data8Channel8
Implementations§
source§impl DataFormat
impl DataFormat
Trait Implementations§
source§impl Clone for DataFormat
impl Clone for DataFormat
source§fn clone(&self) -> DataFormat
fn clone(&self) -> DataFormat
Returns a copy 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 DataFormat
impl Debug for DataFormat
source§impl PartialEq for DataFormat
impl PartialEq for DataFormat
source§fn eq(&self, other: &DataFormat) -> bool
fn eq(&self, other: &DataFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DataFormat
impl StructuralPartialEq for DataFormat
Auto Trait Implementations§
impl RefUnwindSafe for DataFormat
impl Send for DataFormat
impl Sync for DataFormat
impl Unpin for DataFormat
impl UnwindSafe for DataFormat
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