#[non_exhaustive]pub enum CodecId {
Av1,
Vp9,
Vp8,
H264,
Hevc,
Aac,
Opus,
Flac,
Pcm,
Other(CodecTag),
}Expand description
A codec, independent of the container that carries it.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Av1
AV1.
Vp9
VP9.
Vp8
VP8.
H264
H.264 / AVC.
Hevc
H.265 / HEVC.
Aac
AAC.
Opus
Opus.
Flac
FLAC.
Pcm
Uncompressed PCM.
Other(CodecTag)
A codec the container named but this crate does not.
Trait Implementations§
impl Eq for CodecId
impl StructuralPartialEq for CodecId
Auto Trait Implementations§
impl Freeze for CodecId
impl RefUnwindSafe for CodecId
impl Send for CodecId
impl Sync for CodecId
impl Unpin for CodecId
impl UnsafeUnpin for CodecId
impl UnwindSafe for CodecId
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