pub struct ExportOptions {
pub out: PathBuf,
pub format: Format,
pub width: u32,
pub height: u32,
pub fps: u32,
pub audio: Option<Audio>,
pub ffmpeg: Option<PathBuf>,
pub duration: Option<f64>,
}Expand description
What to export and where.
Fields§
§out: PathBufOutput file, or directory for PNG.
format: FormatOutput format.
width: u32Frame width in pixels.
height: u32Frame height in pixels.
fps: u32Frames per second.
audio: Option<Audio>Optional soundtrack (ignored for PNG).
ffmpeg: Option<PathBuf>Explicit ffmpeg binary; otherwise found in PATH.
duration: Option<f64>Stop after this many seconds. Without it, padding the soundtrack can run past the last frame.
Trait Implementations§
Source§impl Clone for ExportOptions
impl Clone for ExportOptions
Auto Trait Implementations§
impl Freeze for ExportOptions
impl RefUnwindSafe for ExportOptions
impl Send for ExportOptions
impl Sync for ExportOptions
impl Unpin for ExportOptions
impl UnsafeUnpin for ExportOptions
impl UnwindSafe for ExportOptions
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