Enum esp_idf_hal::i2s::config::DataBitWidth
source · pub enum DataBitWidth {
Bits8,
Bits16,
Bits24,
Bits32,
}
Expand description
Available data bit width in one slot.
Variants§
Bits8
Channel data bit width is 8 bits.
Bits16
Channel data bit width is 16 bits.
Bits24
Channel data bit width is 24 bits.
Bits32
Channel data bit width is 32 bits.
Trait Implementations§
source§impl Clone for DataBitWidth
impl Clone for DataBitWidth
source§fn clone(&self) -> DataBitWidth
fn clone(&self) -> DataBitWidth
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DataBitWidth
impl Debug for DataBitWidth
source§impl From<DataBitWidth> for u32
impl From<DataBitWidth> for u32
source§fn from(value: DataBitWidth) -> Self
fn from(value: DataBitWidth) -> Self
Converts to this type from the input type.
source§impl Ord for DataBitWidth
impl Ord for DataBitWidth
source§impl PartialEq for DataBitWidth
impl PartialEq for DataBitWidth
source§impl PartialOrd for DataBitWidth
impl PartialOrd for DataBitWidth
source§impl TryFrom<usize> for DataBitWidth
impl TryFrom<usize> for DataBitWidth
impl Copy for DataBitWidth
impl Eq for DataBitWidth
impl StructuralPartialEq for DataBitWidth
Auto Trait Implementations§
impl Freeze for DataBitWidth
impl RefUnwindSafe for DataBitWidth
impl Send for DataBitWidth
impl Sync for DataBitWidth
impl Unpin for DataBitWidth
impl UnwindSafe for DataBitWidth
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)