Struct evdi_sys::evdi_event_context[][src]

#[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_void

Trait Implementations

impl Clone for evdi_event_context[src]

impl Copy for evdi_event_context[src]

impl Debug for evdi_event_context[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.