Struct ami::Vec4
[−]
[src]
pub struct Vec4<T: Copy + Clone> { pub x: T, pub y: T, pub z: T, pub w: T, }
4-dimensional vector
Fields
x: T
X coordinate
y: T
Y coordinate
z: T
Z coordinate
w: T
W coordinate
Methods
impl<T> Vec4<T> where
T: Copy + Clone,
[src]
T: Copy + Clone,
Trait Implementations
impl<T: Clone + Copy + Clone> Clone for Vec4<T>
[src]
fn clone(&self) -> Vec4<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Copy + Copy + Clone> Copy for Vec4<T>
[src]
impl<T: PartialEq + Copy + Clone> PartialEq for Vec4<T>
[src]
fn eq(&self, __arg_0: &Vec4<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Vec4<T>) -> bool
[src]
This method tests for !=
.
impl<T> Debug for Vec4<T> where
T: Debug + Copy + Clone,
[src]
T: Debug + Copy + Clone,