Struct leap_sys::_LEAP_EYE_EVENT
source · [−]#[repr(C, packed)]pub struct _LEAP_EYE_EVENT {
pub frame_id: i64,
pub timestamp: i64,
pub left_eye_position: LEAP_VECTOR,
pub right_eye_position: LEAP_VECTOR,
pub left_eye_estimated_error: f32,
pub right_eye_estimated_error: f32,
}
Fields
frame_id: i64
The ID of the frame corresponding to the source of the currently tracked eye positions. @since 4.1.0
timestamp: i64
The timestamp for this image, in microseconds, referenced against LeapGetNow(). @since 4.1.0
left_eye_position: LEAP_VECTOR
The position of the user’s left eye. @since 4.1.0
right_eye_position: LEAP_VECTOR
The position of the user’s right eye. @since 4.1.0
left_eye_estimated_error: f32
An error estimate of the tracked left eye position. Higher values indicate uncertain tracking and a higher likelihood of there being no such eye in view of the sensor. @since 4.1.0
right_eye_estimated_error: f32
An error estimate of the tracked right eye position. Higher values indicate uncertain tracking and a higher likelihood of there being no such eye in view of the sensor. @since 4.1.0
Trait Implementations
sourceimpl Clone for _LEAP_EYE_EVENT
impl Clone for _LEAP_EYE_EVENT
sourcefn clone(&self) -> _LEAP_EYE_EVENT
fn clone(&self) -> _LEAP_EYE_EVENT
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for _LEAP_EYE_EVENT
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_EYE_EVENT
impl Send for _LEAP_EYE_EVENT
impl Sync for _LEAP_EYE_EVENT
impl Unpin for _LEAP_EYE_EVENT
impl UnwindSafe for _LEAP_EYE_EVENT
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more