pub enum Sample {
None,
U8(Type),
I16(Type),
I32(Type),
I64(Type),
F32(Type),
F64(Type),
}Variants§
Implementations§
Trait Implementations§
Source§impl From<AVSampleFormat> for Sample
impl From<AVSampleFormat> for Sample
Source§fn from(value: AVSampleFormat) -> Self
fn from(value: AVSampleFormat) -> Self
Converts to this type from the input type.
Source§impl Into<AVSampleFormat> for Sample
impl Into<AVSampleFormat> for Sample
Source§fn into(self) -> AVSampleFormat
fn into(self) -> AVSampleFormat
Converts this type into the (usually inferred) input type.
impl Copy for Sample
impl Eq for Sample
impl StructuralPartialEq for Sample
Auto Trait Implementations§
impl Freeze for Sample
impl RefUnwindSafe for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnwindSafe for Sample
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