pub struct Video {
pub pixel_width: u64,
pub pixel_height: u64,
pub display_width: Option<u64>,
pub display_height: Option<u64>,
pub interlaced: Option<bool>,
pub stereo: Option<StereoMode>,
pub gamma: Option<f64>,
}
Expand description
A video track’s specifications
Fields§
§pixel_width: u64
Width of encoded video frames in pixels
pixel_height: u64
Height of encoded video frames in pixels
display_width: Option<u64>
Width of video frames to display
display_height: Option<u64>
Height of video frames to display
interlaced: Option<bool>
Whether video is interlaced
stereo: Option<StereoMode>
Stereo video mode
gamma: Option<f64>
Gamma
Trait Implementations§
source§impl PartialEq for Video
impl PartialEq for Video
impl StructuralPartialEq for Video
Auto Trait Implementations§
impl RefUnwindSafe for Video
impl Send for Video
impl Sync for Video
impl Unpin for Video
impl UnwindSafe for Video
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