Struct leap_sys::_LEAP_IMU_EVENT
source · [−]#[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
sourceimpl Clone for _LEAP_IMU_EVENT
impl Clone for _LEAP_IMU_EVENT
sourcefn clone(&self) -> _LEAP_IMU_EVENT
fn clone(&self) -> _LEAP_IMU_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_IMU_EVENT
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_IMU_EVENT
impl Send for _LEAP_IMU_EVENT
impl Sync for _LEAP_IMU_EVENT
impl Unpin for _LEAP_IMU_EVENT
impl UnwindSafe for _LEAP_IMU_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