pub struct VideoInfo {
pub width: u32,
pub height: u32,
pub fps: f64,
pub duration: f64,
pub has_audio: bool,
}Expand description
What a clip is.
Fields§
§width: u32Width in pixels.
height: u32Height in pixels.
fps: f64Frames per second of the clip.
duration: f64Length in seconds.
has_audio: boolThe file has an audio stream.
Trait Implementations§
impl Copy for VideoInfo
impl StructuralPartialEq for VideoInfo
Auto Trait Implementations§
impl Freeze for VideoInfo
impl RefUnwindSafe for VideoInfo
impl Send for VideoInfo
impl Sync for VideoInfo
impl Unpin for VideoInfo
impl UnsafeUnpin for VideoInfo
impl UnwindSafe for VideoInfo
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