Struct siege_math::quat::Quat [] [src]

pub struct Quat<F> {
    pub v: Vec3<F>,
    pub w: F,
}

Quaternion (general)

Fields

Methods

impl<F: FullFloat> Quat<F>
[src]

[src]

impl<F: FullFloat> Quat<F>
[src]

[src]

impl<F: FullFloat> Quat<F>
[src]

[src]

impl<F: FullFloat> Quat<F>
[src]

[src]

impl<F: FullFloat> Quat<F>
[src]

[src]

impl<F: FullFloat> Quat<F>
[src]

[src]

impl<F: FullFloat> Quat<F>
[src]

[src]

Trait Implementations

impl<F: Debug> Debug for Quat<F>
[src]

[src]

Formats the value using the given formatter. Read more

impl<F: Clone> Clone for Quat<F>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: Copy> Copy for Quat<F>
[src]

impl<F: PartialEq> PartialEq for Quat<F>
[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<F: Eq> Eq for Quat<F>
[src]

impl<F: Hash> Hash for Quat<F>
[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<F: FullFloat> Default for Quat<F>
[src]

[src]

Returns the "default value" for a type. Read more

impl From<Quat<f32>> for Quat<f64>
[src]

[src]

Performs the conversion.

impl From<Quat<f64>> for Quat<f32>
[src]

[src]

Performs the conversion.

impl<F: FullFloat> From<Quat<F>> for NQuat<F>
[src]

[src]

Performs the conversion.

impl<F: FullFloat> From<NQuat<F>> for Quat<F>
[src]

[src]

Performs the conversion.

impl<F: FullFloat> Add for Quat<F>
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<F: FullFloat> AddAssign for Quat<F>
[src]

[src]

Performs the += operation.

impl<F: FullFloat> Sub for Quat<F>
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<F: FullFloat> SubAssign for Quat<F>
[src]

[src]

Performs the -= operation.

impl<F: FullFloat> Mul<F> for Quat<F>
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<F: FullFloat> MulAssign<F> for Quat<F>
[src]

[src]

Performs the *= operation.

impl<F: FullFloat> MulAssign for Quat<F>
[src]

[src]

Performs the *= operation.

impl<F: FullFloat> Mul for Quat<F>
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<F: FullFloat> ApproxEq for Quat<F>
[src]

[src]

This method tests for self and other values to be approximately equal using two methods: epsilon and ulps. If the values differ by less than the given epsilon, they will be considered equal. If the values differ by more than epsilon, but by less than the given ulps, they will also be considered equal. Otherwise they are unequal. Read more

[src]

This method tests for self and other values to be not approximately equal using two methods: epsilon and ulps. If the values differ by less than the given epsilon, they will be considered equal. If the values differ by more than epsilon, but by less than the given ulps, they will also be considered equal. Otherwise they are unequal. Read more

Auto Trait Implementations

impl<F> Send for Quat<F> where
    F: Send

impl<F> Sync for Quat<F> where
    F: Sync