Struct leap_sys::_LEAP_HEAD_POSE_EVENT
source · [−]#[repr(C, packed)]pub struct _LEAP_HEAD_POSE_EVENT {
pub timestamp: i64,
pub head_position: LEAP_VECTOR,
pub head_orientation: LEAP_QUATERNION,
pub head_linear_velocity: LEAP_VECTOR,
pub head_angular_velocity: LEAP_VECTOR,
}
Fields
timestamp: i64
The timestamp for this image, in microseconds, referenced against LeapGetNow(). @since 4.1.0
head_position: LEAP_VECTOR
The position and orientation of the user’s head. Positional tracking must be enabled. @since 4.1.0
head_orientation: LEAP_QUATERNION
head_linear_velocity: LEAP_VECTOR
The linear and angular velocity of the user’s head. Positional tracking must be enabled. @since 4.1.0
head_angular_velocity: LEAP_VECTOR
Trait Implementations
sourceimpl Clone for _LEAP_HEAD_POSE_EVENT
impl Clone for _LEAP_HEAD_POSE_EVENT
sourcefn clone(&self) -> _LEAP_HEAD_POSE_EVENT
fn clone(&self) -> _LEAP_HEAD_POSE_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_HEAD_POSE_EVENT
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_HEAD_POSE_EVENT
impl Send for _LEAP_HEAD_POSE_EVENT
impl Sync for _LEAP_HEAD_POSE_EVENT
impl Unpin for _LEAP_HEAD_POSE_EVENT
impl UnwindSafe for _LEAP_HEAD_POSE_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