[][src]Struct libeyelink_sys::DMESSAGE

#[repr(C)]pub struct DMESSAGE {
    pub time: f64,
    pub type_: INT16,
    pub length: UINT16,
    pub text: [byte; 260],
}

@ingroup messaging \brief Message events: usually text but may contain binary data with floating point time.

A message event is created by your experiment program, and placed in the EDF file. It is possible to enable the sending of these messages back through the link, although there is rarely a reason to do this. Although this method might be used to determine the tracker time (the time field of a message event will indicate when the message was received by the tracker), the use of eyelink_request_time() and eyelink_read_time() is more efficient for retrieving the current time from the eye tracker's timestamp clock. The eye tracker time is rarely needed in any case, and would only be useful to compute link transport delays.

Fields

time: f64

< time message logged

type_: INT16

< event type: usually MESSAGEEVENT

length: UINT16

< length of message

text: [byte; 260]

< message contents (max length 255)

Trait Implementations

impl Clone for DMESSAGE[src]

impl Copy for DMESSAGE[src]

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