Struct adi_gpu_base::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 Vec4
Trait Implementations
impl Clone for Vec4
[src]
impl Clone for Vec4
fn clone(&self) -> Vec4
[src]
fn clone(&self) -> Vec4
Returns 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 Debug for Vec4
[src]
impl Debug for Vec4
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Mul<Vec4> for Mat4
[src]
impl Mul<Vec4> for Mat4
type Output = Vec4
The resulting type after applying the *
operator.
fn mul(self, rhs: Vec4) -> <Mat4 as Mul<Vec4>>::Output
[src]
fn mul(self, rhs: Vec4) -> <Mat4 as Mul<Vec4>>::Output
Transform as a position.
impl Copy for Vec4
[src]
impl Copy for Vec4
impl PartialEq<Vec4> for Vec4
[src]
impl PartialEq<Vec4> for Vec4