#[repr(C)]pub struct evdi_event_context {
pub dpms_handler: Option<unsafe extern "C" fn(dpms_mode: c_int, user_data: *mut c_void)>,
pub mode_changed_handler: Option<unsafe extern "C" fn(mode: evdi_mode, user_data: *mut c_void)>,
pub update_ready_handler: Option<unsafe extern "C" fn(buffer_to_be_updated: c_int, user_data: *mut c_void)>,
pub crtc_state_handler: Option<unsafe extern "C" fn(state: c_int, user_data: *mut c_void)>,
pub cursor_set_handler: Option<unsafe extern "C" fn(cursor_set: evdi_cursor_set, user_data: *mut c_void)>,
pub cursor_move_handler: Option<unsafe extern "C" fn(cursor_move: evdi_cursor_move, user_data: *mut c_void)>,
pub ddcci_data_handler: Option<unsafe extern "C" fn(ddcci_data: evdi_ddcci_data, user_data: *mut c_void)>,
pub user_data: *mut c_void,
}Fields§
§dpms_handler: Option<unsafe extern "C" fn(dpms_mode: c_int, user_data: *mut c_void)>§mode_changed_handler: Option<unsafe extern "C" fn(mode: evdi_mode, user_data: *mut c_void)>§update_ready_handler: Option<unsafe extern "C" fn(buffer_to_be_updated: c_int, user_data: *mut c_void)>§crtc_state_handler: Option<unsafe extern "C" fn(state: c_int, user_data: *mut c_void)>§cursor_set_handler: Option<unsafe extern "C" fn(cursor_set: evdi_cursor_set, user_data: *mut c_void)>§cursor_move_handler: Option<unsafe extern "C" fn(cursor_move: evdi_cursor_move, user_data: *mut c_void)>§ddcci_data_handler: Option<unsafe extern "C" fn(ddcci_data: evdi_ddcci_data, user_data: *mut c_void)>§user_data: *mut c_voidTrait Implementations§
Source§impl Clone for evdi_event_context
impl Clone for evdi_event_context
Source§fn clone(&self) -> evdi_event_context
fn clone(&self) -> evdi_event_context
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 evdi_event_context
impl Debug for evdi_event_context
impl Copy for evdi_event_context
Auto Trait Implementations§
impl Freeze for evdi_event_context
impl RefUnwindSafe for evdi_event_context
impl !Send for evdi_event_context
impl !Sync for evdi_event_context
impl Unpin for evdi_event_context
impl UnwindSafe for evdi_event_context
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