[][src]Union k4a_sys::k4a_float2_t

#[repr(C)]
pub union k4a_float2_t {
    pub xy: k4a_float2_t__xy,
    pub v: [f32; 2],
    // some fields omitted
}

Two dimensional floating point vector.

\xmlonly k4atypes.h (include k4a/k4a.h) \endxmlonly

Fields

xy: k4a_float2_t__xy

< X, Y representation of a vector

v: [f32; 2]

< Array representation of a vector

Trait Implementations

impl Clone for k4a_float2_t[src]

impl Copy for k4a_float2_t[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.