pub struct Clip {
pub width: u32,
pub height: u32,
pub frames: u32,
pub fps: u32,
pub audio_rate: Option<u32>,
}Expand description
An AVI clip to write: frames pictures of width × height at fps,
with a 440 Hz stereo tone at audio_rate samples per second if given.
width should be a multiple of 4 (AVI pads rows to 4 bytes).
Fields§
§width: u32§height: u32§frames: u32§fps: u32§audio_rate: Option<u32>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Clip
impl RefUnwindSafe for Clip
impl Send for Clip
impl Sync for Clip
impl Unpin for Clip
impl UnsafeUnpin for Clip
impl UnwindSafe for Clip
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