[][src]Struct micromath::quaternion::Quaternion

pub struct Quaternion(pub f32, pub f32, pub f32, pub f32);

Quaternion

Methods

impl Quaternion[src]

pub fn conj(self) -> Self[src]

Returns the conjugate of this quaternion

pub fn norm(self) -> f32[src]

Returns the norm of this quaternion

Trait Implementations

impl Debug for Quaternion[src]

impl PartialEq<Quaternion> for Quaternion[src]

impl Mul<Quaternion> for Quaternion[src]

type Output = Self

The resulting type after applying the * operator.

impl Mul<f32> for Quaternion[src]

type Output = Self

The resulting type after applying the * operator.

impl Mul<Quaternion> for f32[src]

type Output = Quaternion

The resulting type after applying the * operator.

impl AddAssign<Quaternion> for Quaternion[src]

impl SubAssign<Quaternion> for Quaternion[src]

impl MulAssign<f32> for Quaternion[src]

impl Copy for Quaternion[src]

impl StructuralPartialEq for Quaternion[src]

impl Clone for Quaternion[src]

Auto Trait Implementations

impl Unpin for Quaternion

impl Send for Quaternion

impl Sync for Quaternion

Blanket Implementations

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

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

type Error = !

The type returned in the event of a conversion error.

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self