pub enum CodecKind {
Video,
Audio,
Image,
Subtitle,
Unknown,
}Expand description
Which domain a codec belongs to.
Variants§
Video
Video codec.
Audio
Audio codec.
Image
Image codec.
Subtitle
Subtitle codec.
Unknown
Unknown or unrecognized codec kind.
Trait Implementations§
impl Copy for CodecKind
Source§impl<'de> Deserialize<'de> for CodecKind
impl<'de> Deserialize<'de> for CodecKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CodecKind
impl StructuralPartialEq for CodecKind
Auto Trait Implementations§
impl Freeze for CodecKind
impl RefUnwindSafe for CodecKind
impl Send for CodecKind
impl Sync for CodecKind
impl Unpin for CodecKind
impl UnsafeUnpin for CodecKind
impl UnwindSafe for CodecKind
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