pub enum Type {
Unknown,
Video,
Audio,
Data,
Subtitle,
Attachment,
}Variants§
trait 实现§
源代码§impl From<AVMediaType> for Type
impl From<AVMediaType> for Type
源代码§fn from(value: AVMediaType) -> Self
fn from(value: AVMediaType) -> Self
Converts to this type from the input type.
源代码§impl From<Type> for AVMediaType
impl From<Type> for AVMediaType
源代码§fn 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 StructuralPartialEq for Type
自动 trait 实现§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnsafeUnpin for Type
impl UnwindSafe for Type
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
从拥有的值可变地借用。 阅读更多