pub struct Svd {
pub id: u16,
pub picture_aspect: u16,
pub pixel_aspect: u16,
pub horizontal_active: u16,
pub horizontal_total: u16,
pub vertical_active: u16,
pub vertical_total: u16,
pub refresh: u16,
pub interlaced: bool,
pub multiplier: u16,
}Expand description
A Short Video Descriptor: one standard video resolution and timing.
Fields§
§id: u16The descriptor’s CTA-861 id.
picture_aspect: u16Picture aspect ratio code.
pixel_aspect: u16Pixel aspect ratio code.
horizontal_active: u16Active pixels per line.
horizontal_total: u16Total pixels per line, including blanking.
vertical_active: u16Active lines per frame.
vertical_total: u16Total lines per frame, including blanking.
refresh: u16Refresh rate in Hz.
interlaced: boolWhether the format is interlaced.
multiplier: u16Pixel clock multiplier.
Trait Implementations§
impl Copy for Svd
impl Eq for Svd
Source§impl Ord for Svd
impl Ord for Svd
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Svd
impl PartialOrd for Svd
impl StructuralPartialEq for Svd
Auto Trait Implementations§
impl Freeze for Svd
impl RefUnwindSafe for Svd
impl Send for Svd
impl Sync for Svd
impl Unpin for Svd
impl UnsafeUnpin for Svd
impl UnwindSafe for Svd
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