#[repr(C, packed)]
pub struct _LEAP_IMU_EVENT { pub timestamp: i64, pub timestamp_hw: i64, pub flags: u32, pub accelerometer: LEAP_VECTOR, pub gyroscope: LEAP_VECTOR, pub temperature: f32, }

Fields

timestamp: i64

The timestamp for these measurements, in microseconds, referenced against LeapGetNow(). @since 4.1.0

timestamp_hw: i64

The timestamp for these measurements, in microseconds, referenced against the device’s internal clock. @since 4.1.0

flags: u32

A combination of eLeapIMUFlag flags. @since 4.1.0

accelerometer: LEAP_VECTOR

The accelerometer measurements, in m/s^2. @since 4.1.0

gyroscope: LEAP_VECTOR

The gyroscope measurements, in rad/s. @since 4.1.0

temperature: f32

The measured temperature, in deg C. @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.