[][src]Struct libeyelink_sys::ILINKDATA

#[repr(C)]pub struct ILINKDATA {
    pub time: UINT32,
    pub version: UINT32,
    pub samrate: UINT16,
    pub samdiv: UINT16,
    pub prescaler: UINT16,
    pub vprescaler: UINT16,
    pub pprescaler: UINT16,
    pub hprescaler: UINT16,
    pub sample_data: UINT16,
    pub event_data: UINT16,
    pub event_types: UINT16,
    pub in_sample_block: byte,
    pub in_event_block: byte,
    pub have_left_eye: byte,
    pub have_right_eye: byte,
    pub last_data_gap_types: UINT16,
    pub last_data_buffer_type: UINT16,
    pub last_data_buffer_size: UINT16,
    pub control_read: UINT16,
    pub first_in_block: UINT16,
    pub last_data_item_time: UINT32,
    pub last_data_item_type: UINT16,
    pub last_data_item_contents: UINT16,
    pub last_data_item: ALL_DATA,
    pub block_number: UINT32,
    pub block_sample: UINT32,
    pub block_event: UINT32,
    pub last_resx: UINT16,
    pub last_resy: UINT16,
    pub last_pupil: [UINT16; 2],
    pub last_status: UINT16,
    pub queued_samples: UINT16,
    pub queued_events: UINT16,
    pub queue_size: UINT16,
    pub queue_free: UINT16,
    pub last_rcve_time: UINT32,
    pub samples_on: byte,
    pub events_on: byte,
    pub packet_flags: UINT16,
    pub link_flags: UINT16,
    pub state_flags: UINT16,
    pub link_dstatus: byte,
    pub link_pendcmd: byte,
    pub reserved: UINT16,
    pub our_name: [c_char; 40],
    pub our_address: ELINKADDR,
    pub eye_name: [c_char; 40],
    pub eye_address: ELINKADDR,
    pub ebroadcast_address: ELINKADDR,
    pub rbroadcast_address: ELINKADDR,
    pub polling_remotes: UINT16,
    pub poll_responses: UINT16,
    pub nodes: [ELINKNODE; 4],
}

Fields

time: UINT32version: UINT32samrate: UINT16samdiv: UINT16prescaler: UINT16vprescaler: UINT16pprescaler: UINT16hprescaler: UINT16sample_data: UINT16event_data: UINT16event_types: UINT16in_sample_block: bytein_event_block: bytehave_left_eye: bytehave_right_eye: bytelast_data_gap_types: UINT16last_data_buffer_type: UINT16last_data_buffer_size: UINT16control_read: UINT16first_in_block: UINT16last_data_item_time: UINT32last_data_item_type: UINT16last_data_item_contents: UINT16last_data_item: ALL_DATAblock_number: UINT32block_sample: UINT32block_event: UINT32last_resx: UINT16last_resy: UINT16last_pupil: [UINT16; 2]last_status: UINT16queued_samples: UINT16queued_events: UINT16queue_size: UINT16queue_free: UINT16last_rcve_time: UINT32samples_on: byteevents_on: bytepacket_flags: UINT16link_flags: UINT16state_flags: UINT16link_dstatus: bytelink_pendcmd: bytereserved: UINT16our_name: [c_char; 40]our_address: ELINKADDReye_name: [c_char; 40]eye_address: ELINKADDRebroadcast_address: ELINKADDRrbroadcast_address: ELINKADDRpolling_remotes: UINT16poll_responses: UINT16nodes: [ELINKNODE; 4]

Trait Implementations

impl Clone for ILINKDATA[src]

impl Copy for ILINKDATA[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.