#[repr(C)]pub struct DrmEventVblank {
pub user_data: u64,
pub tv_sec: u32,
pub tv_usec: u32,
pub sequence: u32,
pub crtc_id: u32,
}
Expand description
The body of a DRM_EVENT_VBLANK
event.
Fields§
§user_data: u64
§tv_sec: u32
§tv_usec: u32
§sequence: u32
§crtc_id: u32
Trait Implementations§
Source§impl Clone for DrmEventVblank
impl Clone for DrmEventVblank
Source§fn clone(&self) -> DrmEventVblank
fn clone(&self) -> DrmEventVblank
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 moreSource§impl Debug for DrmEventVblank
impl Debug for DrmEventVblank
Source§impl From<&DrmEventVblank> for DrmVblankEvent
impl From<&DrmEventVblank> for DrmVblankEvent
Source§fn from(value: &DrmEventVblank) -> Self
fn from(value: &DrmEventVblank) -> Self
Converts to this type from the input type.
impl Copy for DrmEventVblank
Auto Trait Implementations§
impl Freeze for DrmEventVblank
impl RefUnwindSafe for DrmEventVblank
impl Send for DrmEventVblank
impl Sync for DrmEventVblank
impl Unpin for DrmEventVblank
impl UnwindSafe for DrmEventVblank
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