[][src]Struct libeyelink_sys::HOOKFCNS

#[repr(C)]pub struct HOOKFCNS {
    pub setup_cal_display_hook: Option<unsafe extern "C" fn() -> INT16>,
    pub exit_cal_display_hook: Option<unsafe extern "C" fn()>,
    pub record_abort_hide_hook: Option<unsafe extern "C" fn()>,
    pub setup_image_display_hook: Option<unsafe extern "C" fn(width: INT16, height: INT16) -> INT16>,
    pub image_title_hook: Option<unsafe extern "C" fn(threshold: INT16, cam_name: *mut c_char)>,
    pub draw_image_line_hook: Option<unsafe extern "C" fn(width: INT16, line: INT16, totlines: INT16, pixels: *mut byte)>,
    pub set_image_palette_hook: Option<unsafe extern "C" fn(ncolors: INT16, r: *mut byte, g: *mut byte, b: *mut byte)>,
    pub exit_image_display_hook: Option<unsafe extern "C" fn()>,
    pub clear_cal_display_hook: Option<unsafe extern "C" fn()>,
    pub erase_cal_target_hook: Option<unsafe extern "C" fn()>,
    pub draw_cal_target_hook: Option<unsafe extern "C" fn(x: INT16, y: INT16)>,
    pub cal_target_beep_hook: Option<unsafe extern "C" fn()>,
    pub cal_done_beep_hook: Option<unsafe extern "C" fn(error: INT16)>,
    pub dc_done_beep_hook: Option<unsafe extern "C" fn(error: INT16)>,
    pub dc_target_beep_hook: Option<unsafe extern "C" fn()>,
    pub get_input_key_hook: Option<unsafe extern "C" fn(event: *mut InputEvent) -> c_short>,
    pub alert_printf_hook: Option<unsafe extern "C" fn(arg1: *const c_char)>,
}

Fields

setup_cal_display_hook: Option<unsafe extern "C" fn() -> INT16>exit_cal_display_hook: Option<unsafe extern "C" fn()>record_abort_hide_hook: Option<unsafe extern "C" fn()>setup_image_display_hook: Option<unsafe extern "C" fn(width: INT16, height: INT16) -> INT16>image_title_hook: Option<unsafe extern "C" fn(threshold: INT16, cam_name: *mut c_char)>draw_image_line_hook: Option<unsafe extern "C" fn(width: INT16, line: INT16, totlines: INT16, pixels: *mut byte)>set_image_palette_hook: Option<unsafe extern "C" fn(ncolors: INT16, r: *mut byte, g: *mut byte, b: *mut byte)>exit_image_display_hook: Option<unsafe extern "C" fn()>clear_cal_display_hook: Option<unsafe extern "C" fn()>erase_cal_target_hook: Option<unsafe extern "C" fn()>draw_cal_target_hook: Option<unsafe extern "C" fn(x: INT16, y: INT16)>cal_target_beep_hook: Option<unsafe extern "C" fn()>cal_done_beep_hook: Option<unsafe extern "C" fn(error: INT16)>dc_done_beep_hook: Option<unsafe extern "C" fn(error: INT16)>dc_target_beep_hook: Option<unsafe extern "C" fn()>get_input_key_hook: Option<unsafe extern "C" fn(event: *mut InputEvent) -> c_short>alert_printf_hook: Option<unsafe extern "C" fn(arg1: *const c_char)>

Trait Implementations

impl Clone for HOOKFCNS[src]

impl Copy for HOOKFCNS[src]

impl Debug for HOOKFCNS[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.