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