pub struct Tools {
pub ffmpeg: PathBuf,
pub ffprobe: PathBuf,
pub cancel: CancelToken,
}Expand description
The located binaries.
Fields§
§ffmpeg: PathBuf§ffprobe: PathBuf§cancel: CancelTokenStops every Tools::run_pass made with these tools (a new, never-set
token by default — see Tools::with_cancel).
Implementations§
Source§impl Tools
impl Tools
Sourcepub fn with_cancel(self, cancel: CancelToken) -> Self
pub fn with_cancel(self, cancel: CancelToken) -> Self
These tools, with runs stopped by cancel.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tools
impl RefUnwindSafe for Tools
impl Send for Tools
impl Sync for Tools
impl Unpin for Tools
impl UnsafeUnpin for Tools
impl UnwindSafe for Tools
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