pub struct OutputFormat { /* private fields */ }
Expand description
FFmpeg output format.
Implementations§
Source§impl OutputFormat
impl OutputFormat
Sourcepub fn find_by_name(name: &str) -> Option<OutputFormat>
pub fn find_by_name(name: &str) -> Option<OutputFormat>
Try to find an output format by its name.
Sourcepub fn find_by_mime_type(mime_type: &str) -> Option<OutputFormat>
pub fn find_by_mime_type(mime_type: &str) -> Option<OutputFormat>
Try to find an output format by the MIME type.
Sourcepub fn guess_from_file_name(file_name: &str) -> Option<OutputFormat>
pub fn guess_from_file_name(file_name: &str) -> Option<OutputFormat>
Try to guess an output format from a file name.
Trait Implementations§
impl Send for OutputFormat
impl Sync for OutputFormat
Auto Trait Implementations§
impl Freeze for OutputFormat
impl RefUnwindSafe for OutputFormat
impl Unpin for OutputFormat
impl UnwindSafe for OutputFormat
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