#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.