[−][src]Struct libeyelink_sys::DMESSAGE
@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
Auto Trait Implementations
impl RefUnwindSafe for DMESSAGE
impl Send for DMESSAGE
impl Sync for DMESSAGE
impl Unpin for DMESSAGE
impl UnwindSafe for DMESSAGE
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,