pub struct Exporter { /* private fields */ }Expand description
Receives frames in order and writes them out.
Implementations§
Source§impl Exporter
impl Exporter
Sourcepub fn start(opts: &ExportOptions) -> Result<Self, ExportError>
pub fn start(opts: &ExportOptions) -> Result<Self, ExportError>
Starts ffmpeg (or creates the PNG directory).
§Errors
If ffmpeg is missing or cannot start, the output cannot be created, or the size is odd for MP4.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Exporter
impl !UnwindSafe for Exporter
impl Freeze for Exporter
impl Send for Exporter
impl Sync for Exporter
impl Unpin for Exporter
impl UnsafeUnpin for Exporter
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