pub struct HorizontalTiming {
pub scanline: u32,
pub vsync_long_pulse: u32,
pub vsync_short_pulse: u32,
pub hsync_pulse: u32,
pub pixel_width: u32,
pub back_porch: u32,
pub front_porch: u32,
pub pio_prescaler: u16,
}Expand description
Horizontal timings, in clock ticks
Fields§
§scanline: u32§vsync_long_pulse: u32§vsync_short_pulse: u32§hsync_pulse: u32§pixel_width: u32§back_porch: u32§front_porch: u32§pio_prescaler: u16Trait Implementations§
Source§impl Clone for HorizontalTiming
impl Clone for HorizontalTiming
Source§fn clone(&self) -> HorizontalTiming
fn clone(&self) -> HorizontalTiming
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 moreimpl Copy for HorizontalTiming
Auto Trait Implementations§
impl Freeze for HorizontalTiming
impl RefUnwindSafe for HorizontalTiming
impl Send for HorizontalTiming
impl Sync for HorizontalTiming
impl Unpin for HorizontalTiming
impl UnwindSafe for HorizontalTiming
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<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
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