#[repr(i32)]
#[non_exhaustive]
pub enum AVSampleFormat {
Show 14 variants
AV_SAMPLE_FMT_NONE,
AV_SAMPLE_FMT_U8,
AV_SAMPLE_FMT_S16,
AV_SAMPLE_FMT_S32,
AV_SAMPLE_FMT_FLT,
AV_SAMPLE_FMT_DBL,
AV_SAMPLE_FMT_U8P,
AV_SAMPLE_FMT_S16P,
AV_SAMPLE_FMT_S32P,
AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_DBLP,
AV_SAMPLE_FMT_S64,
AV_SAMPLE_FMT_S64P,
AV_SAMPLE_FMT_NB,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AV_SAMPLE_FMT_NONE
AV_SAMPLE_FMT_U8
AV_SAMPLE_FMT_S16
AV_SAMPLE_FMT_S32
AV_SAMPLE_FMT_FLT
AV_SAMPLE_FMT_DBL
AV_SAMPLE_FMT_U8P
AV_SAMPLE_FMT_S16P
AV_SAMPLE_FMT_S32P
AV_SAMPLE_FMT_FLTP
AV_SAMPLE_FMT_DBLP
AV_SAMPLE_FMT_S64
AV_SAMPLE_FMT_S64P
AV_SAMPLE_FMT_NB
Trait Implementations§
source§impl Clone for AVSampleFormat
impl Clone for AVSampleFormat
source§fn clone(&self) -> AVSampleFormat
fn clone(&self) -> AVSampleFormat
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 AVSampleFormat
impl Debug for AVSampleFormat
source§impl Hash for AVSampleFormat
impl Hash for AVSampleFormat
source§impl PartialEq<AVSampleFormat> for AVSampleFormat
impl PartialEq<AVSampleFormat> for AVSampleFormat
source§fn eq(&self, other: &AVSampleFormat) -> bool
fn eq(&self, other: &AVSampleFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.