#[repr(C)]pub struct DrmEventContext {
pub version: c_int,
pub vblank_handler: Option<DrmEventVBlankHandlerDelegate>,
pub page_flip_handler: Option<DrmEventPageFlipHandlerDelegate>,
pub page_flip_handler2: Option<DrmEventPageFlipHandler2Delegate>,
pub sequence_handler: Option<DrmEventSequenceHandlerDelegate>,
}Expand description
drmEventContext: the handlers drmHandleEvent calls.
Fields§
§version: c_int4: the version of the structure with every handler below.
vblank_handler: Option<DrmEventVBlankHandlerDelegate>§page_flip_handler: Option<DrmEventPageFlipHandlerDelegate>§page_flip_handler2: Option<DrmEventPageFlipHandler2Delegate>§sequence_handler: Option<DrmEventSequenceHandlerDelegate>Trait Implementations§
Source§impl Clone for DrmEventContext
impl Clone for DrmEventContext
impl Copy for DrmEventContext
Auto Trait Implementations§
impl Freeze for DrmEventContext
impl RefUnwindSafe for DrmEventContext
impl Send for DrmEventContext
impl Sync for DrmEventContext
impl Unpin for DrmEventContext
impl UnsafeUnpin for DrmEventContext
impl UnwindSafe for DrmEventContext
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more