pub struct File<'a> {
pub url: &'a str,
pub options: Vec<Parameter<'a>>,
}
Expand description
A file that ffmpeg operates on.
This can be an input or output, it depends on what you add it as.
Fields§
§url: &'a str
The url of the file.
As with ffmpeg, just a normal path works.
options: Vec<Parameter<'a>>
The options corresponding to this file.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for File<'a>
impl<'a> RefUnwindSafe for File<'a>
impl<'a> Send for File<'a>
impl<'a> Sync for File<'a>
impl<'a> Unpin for File<'a>
impl<'a> UnwindSafe for File<'a>
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