Struct gamemath::quat::Quat[][src]

pub struct Quat {
    pub x: f32,
    pub y: f32,
    pub z: f32,
    pub w: f32,
}

Fields

Methods

impl Quat
[src]

Trait Implementations

impl From<Quat> for Vec4
[src]

Performs the conversion.

impl From<Quat> for Mat4
[src]

Performs the conversion.

impl Copy for Quat
[src]

impl Clone for Quat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Quat
[src]

Formats the value using the given formatter. Read more

impl Default for Quat
[src]

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

impl From<f32> for Quat
[src]

Performs the conversion.

impl From<Vec4> for Quat
[src]

Performs the conversion.

impl From<(f32, f32, f32, f32)> for Quat
[src]

Performs the conversion.

impl From<[f32; 4]> for Quat
[src]

Performs the conversion.

impl Mul<Quat> for Quat
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl MulAssign<Quat> for Quat
[src]

Performs the *= operation.

impl Add<Quat> for Quat
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl AddAssign<Quat> for Quat
[src]

Performs the += operation.

Auto Trait Implementations

impl Send for Quat

impl Sync for Quat