Struct vodk_math::vec4::Vector4D [] [src]

pub struct Vector4D<Unit = Untyped> {
    pub x: f32,
    pub y: f32,
    pub z: f32,
    pub w: f32,
    // some fields omitted
}

Fields

Methods

impl<U> Vector4D<U>
[src]

Trait Implementations

impl<U> AsRef<[f32; 4]> for Vector4D<U>
[src]

Performs the conversion.

impl<U> AsRef<(f32, f32, f32, f32)> for Vector4D<U>
[src]

Performs the conversion.

impl<U> AsMut<[f32; 4]> for Vector4D<U>
[src]

Performs the conversion.

impl<U> AsMut<(f32, f32, f32, f32)> for Vector4D<U>
[src]

Performs the conversion.

impl<U> Default for Vector4D<U>
[src]

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

impl<U> PartialEq for Vector4D<U>
[src]

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

This method tests for !=.

impl<U> Add<Vector4D<U>> for Vector4D<U>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<U> Sub<Vector4D<U>> for Vector4D<U>
[src]

The resulting type after applying the - operator

The method for the - operator

impl<U> Mul<Vector4D<U>> for Vector4D<U>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<U> Div<Vector4D<U>> for Vector4D<U>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<U> Neg for Vector4D<U>
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl<U> Copy for Vector4D<U>
[src]

impl<U> Clone for Vector4D<U>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<U: Unit> Debug for Vector4D<U>
[src]

Formats the value using the given formatter.