Struct madgwick::Quaternion [] [src]

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

Quaternion

Methods

impl Quaternion
[src]

[src]

Returns the conjugate of this quaternion

[src]

Returns the norm of this quaternion

Trait Implementations

impl Clone for Quaternion
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Quaternion
[src]

impl Debug for Quaternion
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Quaternion
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl AddAssign<Quaternion> for Quaternion
[src]

[src]

Performs the += operation.

impl MulAssign<f32> for Quaternion
[src]

[src]

Performs the *= operation.

impl SubAssign<Quaternion> for Quaternion
[src]

[src]

Performs the -= operation.

impl Mul<Quaternion> for Quaternion
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<f32> for Quaternion
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Quaternion> for f32
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

Auto Trait Implementations

impl Send for Quaternion

impl Sync for Quaternion