pub struct VideoInfo {
pub pixel_width: u32,
pub pixel_height: u32,
pub display_width: Option<u32>,
pub display_height: Option<u32>,
pub display_unit: u64,
pub crop: (u32, u32, u32, u32),
pub interlaced: u64,
pub colour: Option<Colour>,
pub projection: Option<Projection>,
}Fields§
§pixel_width: u32§pixel_height: u32§display_width: Option<u32>§display_height: Option<u32>§display_unit: u64§crop: (u32, u32, u32, u32)§interlaced: u64§colour: Option<Colour>§projection: Option<Projection>Implementations§
Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more