pub struct DetailedTiming {
pub pixel_clock: u32,
pub active: (u16, u16),
pub front_porch: (u16, u16),
pub sync_length: (u16, u16),
pub back_porch: (u16, u16),
pub image_size: ImageSize,
pub border: (u16, u16),
pub interlaced: bool,
pub stereo: StereoType,
pub sync_type: SyncType,
}Expand description
A non-standard timing with all parameters specified.
Fields§
§pixel_clock: u32Given in Hz
active: (u16, u16)Active area in pixels.
front_porch: (u16, u16)Length of front porch in pixels and lines.
sync_length: (u16, u16)Length of sync pulse in pixels and lines.
back_porch: (u16, u16)Length of back porch in pixels and lines.
image_size: ImageSizeImage size in centimetres.
border: (u16, u16)Border size in pixels.
interlaced: bool§stereo: StereoType§sync_type: SyncTypeTrait Implementations§
Source§impl Clone for DetailedTiming
impl Clone for DetailedTiming
Source§fn clone(&self) -> DetailedTiming
fn clone(&self) -> DetailedTiming
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DetailedTiming
impl RefUnwindSafe for DetailedTiming
impl Send for DetailedTiming
impl Sync for DetailedTiming
impl Unpin for DetailedTiming
impl UnwindSafe for DetailedTiming
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