Struct ami::Vec4 [−][src]
4-dimensional vector
Fields
x: f32
X coordinate
y: f32
Y coordinate
z: f32
Z coordinate
w: f32
W coordinate
Methods
impl Vec4[src]
impl Vec4Trait Implementations
impl Mul<Vec4> for Mat4[src]
impl Mul<Vec4> for Mat4type Output = Vec4
The resulting type after applying the * operator.
fn mul(self, rhs: Vec4) -> Self::Output[src]
fn mul(self, rhs: Vec4) -> Self::OutputTransform as a position.
impl Clone for Vec4[src]
impl Clone for Vec4fn clone(&self) -> Vec4[src]
fn clone(&self) -> Vec4Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Vec4[src]
impl Copy for Vec4impl PartialEq for Vec4[src]
impl PartialEq for Vec4fn eq(&self, other: &Vec4) -> bool[src]
fn eq(&self, other: &Vec4) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Vec4) -> bool[src]
fn ne(&self, other: &Vec4) -> boolThis method tests for !=.
impl Debug for Vec4[src]
impl Debug for Vec4