[][src]Struct libeyelink_sys::DIOEVENT

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

@ingroup messaging \brief Button, input, other simple events with floating point time.

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: f64

< time logged

type_: INT16

< event type:

data: UINT16

< coded event data

Trait Implementations

impl Clone for DIOEVENT[src]

impl Copy for DIOEVENT[src]

impl Debug for DIOEVENT[src]

impl Default for DIOEVENT[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.