#[repr(u8)]pub enum Swidth {
_8BIT = 0,
_16BIT = 1,
_24BIT = 2,
_32BIT = 3,
_8BIT_IN16 = 4,
_8BIT_IN32 = 5,
_16BIT_IN32 = 6,
_24BIT_IN32 = 7,
}
Variants§
_8BIT = 0
8 bit sample.
_16BIT = 1
16 bit sample.
_24BIT = 2
24 bit sample.
_32BIT = 3
32 bit sample.
_8BIT_IN16 = 4
8 bit sample in a 16-bit half-frame.
_8BIT_IN32 = 5
8 bit sample in a 32-bit half-frame.
_16BIT_IN32 = 6
16 bit sample in a 32-bit half-frame.
_24BIT_IN32 = 7
24 bit sample in a 32-bit half-frame.
Implementations§
Trait Implementations§
Source§impl Ord for Swidth
impl Ord for Swidth
Source§impl PartialOrd for Swidth
impl PartialOrd for Swidth
impl Copy for Swidth
impl Eq for Swidth
impl StructuralPartialEq for Swidth
Auto Trait Implementations§
impl Freeze for Swidth
impl RefUnwindSafe for Swidth
impl Send for Swidth
impl Sync for Swidth
impl Unpin for Swidth
impl UnwindSafe for Swidth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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
)