[][src]Struct libeyelink_sys::IOEVENT

#[repr(C)]pub struct IOEVENT {
    pub time: UINT32,
    pub type_: INT16,
    pub data: UINT16,
}

@ingroup messaging \brief Button, input, other simple events

BUTTONEVENT and INPUTEVENT types are the simplest events, reporting changes in button status or in the input port data. The time field records the timestamp of the eye-data sample where the change occurred, although the event itself is usually sent before that sample. The data field contains the data after the change, in the same format as in the FSAMPLE structure.

Button events from the link are rarely used; monitoring buttons with one of eyelink_read_keybutton(), eyelink_last_button_press(), or eyelink_button_states() is preferable, since these can report button states at any time, not just during recording.

Fields

time: UINT32

< time logged

type_: INT16

< event type:

data: UINT16

< coded event data

Trait Implementations

impl Clone for IOEVENT[src]

impl Copy for IOEVENT[src]

impl Debug for IOEVENT[src]

impl Default for IOEVENT[src]

Auto Trait Implementations

impl RefUnwindSafe for IOEVENT

impl Send for IOEVENT

impl Sync for IOEVENT

impl Unpin for IOEVENT

impl UnwindSafe for IOEVENT

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.