Struct xmath::Vector3 [] [src]

pub struct Vector3 {
    pub x: f32,
    pub y: f32,
    pub z: f32,
    // some fields omitted
}

Fields

Methods

impl Vector3
[src]

Trait Implementations

impl Clone for Vector3
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Vector3
[src]

impl PartialEq for Vector3
[src]

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

This method tests for !=.

impl Debug for Vector3
[src]

Formats the value using the given formatter.

impl Vector for Vector3
[src]

impl Add for Vector3
[src]

The resulting type after applying the + operator

The method for the + operator

impl AddAssign for Vector3
[src]

The method for the += operator

impl Sub for Vector3
[src]

The resulting type after applying the - operator

The method for the - operator

impl SubAssign for Vector3
[src]

The method for the -= operator

impl Div for Vector3
[src]

The resulting type after applying the / operator

The method for the / operator

impl DivAssign for Vector3
[src]

The method for the /= operator

impl Div<f32> for Vector3
[src]

The resulting type after applying the / operator

The method for the / operator

impl DivAssign<f32> for Vector3
[src]

The method for the /= operator

impl Mul for Vector3
[src]

The resulting type after applying the * operator

The method for the * operator

impl MulAssign for Vector3
[src]

The method for the *= operator

impl Mul<f32> for Vector3
[src]

The resulting type after applying the * operator

The method for the * operator

impl MulAssign<f32> for Vector3
[src]

The method for the *= operator

impl Neg for Vector3
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl Index<usize> for Vector3
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

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

Performs the conversion.