pub enum Type {
Unknown,
Video,
Audio,
Data,
Subtitle,
Attachment,
}
Variants
Unknown
Video
Audio
Data
Subtitle
Attachment
Trait Implementations
sourceimpl From<AVMediaType> for Type
impl From<AVMediaType> for Type
sourcefn from(value: AVMediaType) -> Self
fn from(value: AVMediaType) -> Self
Converts to this type from the input type.
sourceimpl From<Type> for AVMediaType
impl From<Type> for AVMediaType
sourcefn from(value: Type) -> AVMediaType
fn from(value: Type) -> AVMediaType
Converts to this type from the input type.
impl Copy for Type
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more