Enum Swidth
#[repr(u8)]pub enum Swidth {
_8bit = 0,
_16bit = 1,
_24bit = 2,
_RESERVED_3 = 3,
}Variants§
Implementations§
Trait Implementations§
impl Copy for Swidth
impl Eq for Swidth
Source§impl From<SampleWidth> for Swidth
impl From<SampleWidth> for Swidth
Source§fn from(variant: SampleWidth) -> Self
fn from(variant: SampleWidth) -> Self
Converts to this type from the input type.
§impl Ord for Swidth
impl Ord for Swidth
1.21.0 (const: unstable) · 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
§impl PartialOrd for Swidth
impl PartialOrd 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 UnsafeUnpin 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