pub struct VideoInfo {
pub width: u32,
pub height: u32,
pub pixel_format: String,
pub frame_rate: Option<Rational>,
pub frames: Option<u64>,
pub color: ColorSpace,
}Fields§
§width: u32§height: u32§pixel_format: String§frame_rate: Option<Rational>§frames: Option<u64>§color: ColorSpaceTrait Implementations§
impl StructuralPartialEq for VideoInfo
Auto Trait Implementations§
impl Forget for VideoInfo
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