Struct glw::math::Vec3[][src]

pub struct Vec3<T> {
    pub x: T,
    pub y: T,
    pub z: T,
}

Fields

Methods

impl<T> Vec3<T>
[src]

Trait Implementations

impl<T: Default> Default for Vec3<T>
[src]

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

impl<T: PartialEq> PartialEq for Vec3<T>
[src]

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

This method tests for !=.

impl<T: Clone> Clone for Vec3<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for Vec3<T>
[src]

Formats the value using the given formatter. Read more

impl<T> DotProduct for Vec3<T> where
    T: Mul<Output = T> + Add<Output = T> + Copy
[src]

Auto Trait Implementations

impl<T> Send for Vec3<T> where
    T: Send

impl<T> Sync for Vec3<T> where
    T: Sync