#[non_exhaustive]pub enum Container {
Mp4,
WebM,
Mkv,
Avi,
Mov,
Flac,
Ogg,
}Expand description
Container format for output file.
The container format is usually auto-detected from the file extension, but can be explicitly specified if needed.
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.
Mp4
MP4 / QuickTime
WebM
WebM
Mkv
Matroska
Avi
AVI
Mov
MOV
Flac
FLAC (lossless audio container)
Ogg
OGG (audio container for Vorbis/Opus)
Implementations§
Trait Implementations§
impl Copy for Container
impl Eq for Container
impl StructuralPartialEq for Container
Auto Trait Implementations§
impl Freeze for Container
impl RefUnwindSafe for Container
impl Send for Container
impl Sync for Container
impl Unpin for Container
impl UnsafeUnpin for Container
impl UnwindSafe for Container
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