#[repr(C)]pub struct ISAMPLE {Show 17 fields
pub time: UINT32,
pub type_: INT16,
pub flags: UINT16,
pub px: [INT16; 2],
pub py: [INT16; 2],
pub hx: [INT16; 2],
pub hy: [INT16; 2],
pub pa: [UINT16; 2],
pub gx: [INT16; 2],
pub gy: [INT16; 2],
pub rx: INT16,
pub ry: INT16,
pub status: UINT16,
pub input: UINT16,
pub buttons: UINT16,
pub htype: INT16,
pub hdata: [INT16; 8],
}Expand description
@ingroup messaging \brief Integer sample data
Fields§
§time: UINT32< time of sample
type_: INT16< always SAMPLE_TYPE
flags: UINT16< flags to indicate contents
px: [INT16; 2]< pupil x
py: [INT16; 2]< pupil y
hx: [INT16; 2]< headref x
hy: [INT16; 2]< headref y
pa: [UINT16; 2]< pupil size or area
gx: [INT16; 2]< screen gaze x
gy: [INT16; 2]< screen gaze y
rx: INT16< screen pixels per degree
ry: INT16< screen pixels per degree
status: UINT16< tracker status flags
input: UINT16< extra (input word)
< button state & changes
htype: INT16< head-tracker data type (0=none)
hdata: [INT16; 8]< head-tracker data
Trait Implementations§
impl Copy for ISAMPLE
Auto Trait Implementations§
impl Freeze for ISAMPLE
impl RefUnwindSafe for ISAMPLE
impl Send for ISAMPLE
impl Sync for ISAMPLE
impl Unpin for ISAMPLE
impl UnwindSafe for ISAMPLE
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more