Struct libdrm_sys::_drmEventContext
[−]
[src]
#[repr(C)]pub struct _drmEventContext { pub version: c_int, pub vblank_handler: Option<unsafe extern "C" fn(_: c_int, _: c_uint, _: c_uint, _: c_uint, _: *mut c_void)>, pub page_flip_handler: Option<unsafe extern "C" fn(_: c_int, _: c_uint, _: c_uint, _: c_uint, _: *mut c_void)>, }
Fields
version: c_int
vblank_handler: Option<unsafe extern "C" fn(_: c_int, _: c_uint, _: c_uint, _: c_uint, _: *mut c_void)>
page_flip_handler: Option<unsafe extern "C" fn(_: c_int, _: c_uint, _: c_uint, _: c_uint, _: *mut c_void)>
Trait Implementations
impl Debug for _drmEventContext
[src]
impl Copy for _drmEventContext
[src]
impl Clone for _drmEventContext
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more