[][src]Struct leap_sys::_LEAP_BONE

#[repr(C, packed)]pub struct _LEAP_BONE {
    pub prev_joint: LEAP_VECTOR,
    pub next_joint: LEAP_VECTOR,
    pub width: f32,
    pub rotation: LEAP_QUATERNION,
}

\ingroup Structs Describes a bone's position and orientation.

Bones are members of the LEAP_DIGIT struct. @since 3.0.0

Fields

prev_joint: LEAP_VECTOR

The base of the bone, closer to the heart. The bones origin. @since 3.0.0

next_joint: LEAP_VECTOR

The end of the bone, further from the heart. @since 3.0.0

width: f32

The average width of the flesh around the bone in millimeters. @since 3.0.0

rotation: LEAP_QUATERNION

Rotation in world space from the forward direction. Convert the quaternion to a matrix to derive the basis vectors. @since 3.1.2

Trait Implementations

impl Clone for _LEAP_BONE[src]

impl Copy for _LEAP_BONE[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.