pub struct VblankEvent {
pub sequence: u64,
pub timestamp_ns: u64,
pub crtc_id: u32,
}Expand description
Vblank event
Fields§
§sequence: u64Vblank counter
timestamp_ns: u64Timestamp in nanoseconds (monotonic)
crtc_id: u32CRTC that generated this event
Trait Implementations§
Source§impl Clone for VblankEvent
impl Clone for VblankEvent
Source§fn clone(&self) -> VblankEvent
fn clone(&self) -> VblankEvent
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VblankEvent
impl Debug for VblankEvent
Source§impl PartialEq for VblankEvent
impl PartialEq for VblankEvent
impl Copy for VblankEvent
impl Eq for VblankEvent
impl StructuralPartialEq for VblankEvent
Auto Trait Implementations§
impl Freeze for VblankEvent
impl RefUnwindSafe for VblankEvent
impl Send for VblankEvent
impl Sync for VblankEvent
impl Unpin for VblankEvent
impl UnwindSafe for VblankEvent
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)