Enum SampleFormat
#[non_exhaustive]
#[repr(u16)]
pub enum SampleFormat
Variants
-
Uint = 1 -
Int = 2 -
IEEEFP = 3 -
Void = 4 -
Unknown(u16) An unknown extension sample format
Implementations
impl SampleFormat
const fn from_u16(val: u16) -> Option<Self>const fn from_u16_exhaustive(unknown: u16) -> Selfconst fn to_u16(&self) -> u16
Trait Implementations
impl Clone for SampleFormat
fn clone(&self) -> Self
impl Copy for SampleFormat
impl Debug for SampleFormat
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for SampleFormat
impl Hash for SampleFormat
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for SampleFormat
fn eq(&self, other: &Self) -> bool