pub struct FrameTiming {
pub h_active: u32,
pub hsw: u32,
pub hbp: u32,
pub hfp: u32,
pub v_active: u32,
pub vsw: u32,
pub vbp: u32,
pub vfp: u32,
}Expand description
Video frame timing (pixel/line counts).
Fields§
§h_active: u32Active pixels per line.
hsw: u32Horizontal sync pulse width (pixels).
hbp: u32Horizontal back porch (pixels).
hfp: u32Horizontal front porch (pixels).
v_active: u32Active lines per frame.
vsw: u32Vertical sync pulse width (lines).
vbp: u32Vertical back porch (lines).
vfp: u32Vertical front porch (lines).
Trait Implementations§
Source§impl Clone for FrameTiming
Available on crate feature unstable only.
impl Clone for FrameTiming
Available on crate feature
unstable only.Source§fn clone(&self) -> FrameTiming
fn clone(&self) -> FrameTiming
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FrameTiming
Available on crate feature
unstable only.Auto Trait Implementations§
impl Freeze for FrameTiming
impl RefUnwindSafe for FrameTiming
impl Send for FrameTiming
impl Sync for FrameTiming
impl Unpin for FrameTiming
impl UnsafeUnpin for FrameTiming
impl UnwindSafe for FrameTiming
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)