#[repr(C, packed(1))]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: i64The ID of the frame corresponding to the source of the currently tracked eye positions. @since 4.1.0
timestamp: i64The timestamp for this image, in microseconds, referenced against LeapGetNow(). @since 4.1.0
left_eye_position: LEAP_VECTORThe position of the user’s left eye. @since 4.1.0
right_eye_position: LEAP_VECTORThe position of the user’s right eye. @since 4.1.0
left_eye_estimated_error: f32An 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: f32An 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§
Source§impl Clone for _LEAP_EYE_EVENT
impl Clone for _LEAP_EYE_EVENT
Source§fn clone(&self) -> _LEAP_EYE_EVENT
fn clone(&self) -> _LEAP_EYE_EVENT
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for _LEAP_EYE_EVENT
Auto Trait Implementations§
impl Freeze for _LEAP_EYE_EVENT
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§
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