[][src]Struct libeyelink_sys::_CrossHairInfo

#[repr(C)]pub struct _CrossHairInfo {
    pub majorVersion: c_short,
    pub minorVersion: c_short,
    pub w: c_int,
    pub h: c_int,
    pub privatedata: *mut c_void,
    pub userdata: *mut c_void,
    pub drawLine: Option<unsafe extern "C" fn(dt: *mut CrossHairInfo, x1: c_int, y1: c_int, x2: c_int, y2: c_int, colorindex: c_int)>,
    pub drawLozenge: Option<unsafe extern "C" fn(dt: *mut CrossHairInfo, x: c_int, y: c_int, w: c_int, h: c_int, colorindex: c_int)>,
    pub getMouseState: Option<unsafe extern "C" fn(dt: *mut CrossHairInfo, x: *mut c_int, y: *mut c_int, state: *mut c_int)>,
    pub reserved1: c_int,
    pub reserved2: c_int,
    pub reserved3: c_int,
    pub reserved4: c_int,
}

Fields

majorVersion: c_shortminorVersion: c_shortw: c_inth: c_intprivatedata: *mut c_voiduserdata: *mut c_voiddrawLine: Option<unsafe extern "C" fn(dt: *mut CrossHairInfo, x1: c_int, y1: c_int, x2: c_int, y2: c_int, colorindex: c_int)>drawLozenge: Option<unsafe extern "C" fn(dt: *mut CrossHairInfo, x: c_int, y: c_int, w: c_int, h: c_int, colorindex: c_int)>getMouseState: Option<unsafe extern "C" fn(dt: *mut CrossHairInfo, x: *mut c_int, y: *mut c_int, state: *mut c_int)>reserved1: c_intreserved2: c_intreserved3: c_intreserved4: c_int

Trait Implementations

impl Clone for _CrossHairInfo[src]

impl Copy for _CrossHairInfo[src]

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