[][src]Struct gvr_sys::gvr_quatf

#[repr(C)]
pub struct gvr_quatf {
    pub qx: f32,
    pub qy: f32,
    pub qz: f32,
    pub qw: f32,
}

A floating point quaternion, in JPL format. We use this simple struct in order not to impose a dependency on a particular math library. The user of this API is free to encapsulate this into any math library they want.

Fields

qx: f32

qx, qy, qz are the vector components.

qy: f32qz: f32qw: f32

qw is the scalar component.

Trait Implementations

impl Clone for gvr_quatf[src]

impl Copy for gvr_quatf[src]

impl Debug for gvr_quatf[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.