#[repr(C)]pub struct VSVideoInfo {
pub format: VSVideoFormat,
pub fps_num: i64,
pub fps_den: i64,
pub width: c_int,
pub height: c_int,
pub num_frames: c_int,
}
Expand description
Contains information about a clip.
Fields§
§format: VSVideoFormat
Format of the clip. Will have VSVideoFormat::color_family
set to
VSColorFamily::Undefined
if the format can vary.
fps_num: i64
Numerator part of the clip’s frame rate. It will be 0 if the frame rate can vary. Should always be a reduced fraction.
fps_den: i64
Denominator part of the clip’s frame rate. It will be 0 if the frame rate can vary. Should always be a reduced fraction.
width: c_int
Width of the clip. Both width and height will be 0 if the clip’s dimensions can vary.
height: c_int
Height of the clip. Both width and height will be 0 if the clip’s dimensions can vary.
num_frames: c_int
Length of the clip.
Trait Implementations§
Source§impl Clone for VSVideoInfo
impl Clone for VSVideoInfo
Source§fn clone(&self) -> VSVideoInfo
fn clone(&self) -> VSVideoInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VSVideoInfo
impl Debug for VSVideoInfo
Source§impl Hash for VSVideoInfo
impl Hash for VSVideoInfo
Source§impl PartialEq for VSVideoInfo
impl PartialEq for VSVideoInfo
impl Eq for VSVideoInfo
impl StructuralPartialEq for VSVideoInfo
Auto Trait Implementations§
impl Freeze for VSVideoInfo
impl RefUnwindSafe for VSVideoInfo
impl Send for VSVideoInfo
impl Sync for VSVideoInfo
impl Unpin for VSVideoInfo
impl UnwindSafe for VSVideoInfo
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