Struct mint::LeftQuaternion [] [src]

#[repr(C)]
pub struct LeftQuaternion<T, B> { pub s: T, pub v: Vector3<T>, // some fields omitted }
Deprecated

Standard quaternion corresponding to a left-handed rotation matrix. The exact association of the left-handed basis that is encoded by this quaternion and a right-handed one is presented by B (for "basis") generic parameter.

Read also: https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation#Orientation

Fields

Deprecated

Scalar part of a quaternion.

Deprecated

Vector part of a quaternion.

Trait Implementations

impl<T: Clone, B: Clone> Clone for LeftQuaternion<T, B>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Copy, B: Copy> Copy for LeftQuaternion<T, B>
[src]

impl<T: Debug, B: Debug> Debug for LeftQuaternion<T, B>
[src]

[src]

Formats the value using the given formatter.

impl<T: Hash, B: Hash> Hash for LeftQuaternion<T, B>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<T: PartialEq, B: PartialEq> PartialEq for LeftQuaternion<T, B>
[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<T: PartialOrd, B: PartialOrd> PartialOrd for LeftQuaternion<T, B>
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<T: Eq, B: Eq> Eq for LeftQuaternion<T, B>
[src]

impl<T: Ord, B: Ord> Ord for LeftQuaternion<T, B>
[src]

[src]

This method returns an Ordering between self and other. Read more

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl<T: Clone, B> From<[T; 4]> for LeftQuaternion<T, B>
[src]

[src]

Performs the conversion.

impl<T, B> Into<[T; 4]> for LeftQuaternion<T, B>
[src]

[src]

Performs the conversion.