#[repr(i32)]pub enum AVSampleFormat {
Show 14 variants
AV_SAMPLE_FMT_NONE = -1,
AV_SAMPLE_FMT_U8 = 0,
AV_SAMPLE_FMT_S16 = 1,
AV_SAMPLE_FMT_S32 = 2,
AV_SAMPLE_FMT_FLT = 3,
AV_SAMPLE_FMT_DBL = 4,
AV_SAMPLE_FMT_U8P = 5,
AV_SAMPLE_FMT_S16P = 6,
AV_SAMPLE_FMT_S32P = 7,
AV_SAMPLE_FMT_FLTP = 8,
AV_SAMPLE_FMT_DBLP = 9,
AV_SAMPLE_FMT_S64 = 10,
AV_SAMPLE_FMT_S64P = 11,
AV_SAMPLE_FMT_NB = 12,
}Variants§
AV_SAMPLE_FMT_NONE = -1
AV_SAMPLE_FMT_U8 = 0
AV_SAMPLE_FMT_S16 = 1
AV_SAMPLE_FMT_S32 = 2
AV_SAMPLE_FMT_FLT = 3
AV_SAMPLE_FMT_DBL = 4
AV_SAMPLE_FMT_U8P = 5
AV_SAMPLE_FMT_S16P = 6
AV_SAMPLE_FMT_S32P = 7
AV_SAMPLE_FMT_FLTP = 8
AV_SAMPLE_FMT_DBLP = 9
AV_SAMPLE_FMT_S64 = 10
AV_SAMPLE_FMT_S64P = 11
AV_SAMPLE_FMT_NB = 12
Trait Implementations§
Source§impl Clone for AVSampleFormat
impl Clone for AVSampleFormat
Source§fn clone(&self) -> AVSampleFormat
fn clone(&self) -> AVSampleFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AVSampleFormat
Source§impl Debug for AVSampleFormat
impl Debug for AVSampleFormat
impl Eq for AVSampleFormat
Source§impl From<Sample> for AVSampleFormat
impl From<Sample> for AVSampleFormat
Source§fn from(value: Sample) -> AVSampleFormat
fn from(value: Sample) -> AVSampleFormat
Converts to this type from the input type.
Source§impl Hash for AVSampleFormat
impl Hash for AVSampleFormat
Source§impl PartialEq for AVSampleFormat
impl PartialEq for AVSampleFormat
impl StructuralPartialEq for AVSampleFormat
Auto Trait Implementations§
impl Freeze for AVSampleFormat
impl RefUnwindSafe for AVSampleFormat
impl Send for AVSampleFormat
impl Sync for AVSampleFormat
impl Unpin for AVSampleFormat
impl UnsafeUnpin for AVSampleFormat
impl UnwindSafe for AVSampleFormat
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.