pub enum Sample {
None,
U8(Type),
I16(Type),
I32(Type),
I64(Type),
F32(Type),
F64(Type),
}Variants§
实现§
trait 实现§
源代码§impl From<AVSampleFormat> for Sample
impl From<AVSampleFormat> for Sample
源代码§fn from(value: AVSampleFormat) -> Self
fn from(value: AVSampleFormat) -> Self
Converts to this type from the input type.
源代码§impl From<Sample> for AVSampleFormat
impl From<Sample> for AVSampleFormat
源代码§fn from(value: Sample) -> AVSampleFormat
fn from(value: Sample) -> AVSampleFormat
Converts to this type from the input type.
impl Copy for Sample
impl Eq for Sample
impl StructuralPartialEq for Sample
自动 trait 实现§
impl Freeze for Sample
impl RefUnwindSafe for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnsafeUnpin for Sample
impl UnwindSafe for Sample
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多