Struct nalgebra::base::coordinates::XYZWA [−][src]
#[repr(C)]pub struct XYZWA<N: Scalar> { pub x: N, pub y: N, pub z: N, pub w: N, pub a: N, }
Data structure used to provide access to matrix and vector coordinates with the dot
notation, e.g., v.x
is the same as v[0]
for a vector.
Fields
x: N
y: N
z: N
w: N
a: N
Trait Implementations
impl<N: Eq + Scalar> Eq for XYZWA<N>
[src]
impl<N: Eq + Scalar> Eq for XYZWA<N>
impl<N: PartialEq + Scalar> PartialEq for XYZWA<N>
[src]
impl<N: PartialEq + Scalar> PartialEq for XYZWA<N>
fn eq(&self, other: &XYZWA<N>) -> bool
[src]
fn eq(&self, other: &XYZWA<N>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &XYZWA<N>) -> bool
[src]
fn ne(&self, other: &XYZWA<N>) -> bool
This method tests for !=
.
impl<N: Clone + Scalar> Clone for XYZWA<N>
[src]
impl<N: Clone + Scalar> Clone for XYZWA<N>
fn clone(&self) -> XYZWA<N>
[src]
fn clone(&self) -> XYZWA<N>
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<N: Hash + Scalar> Hash for XYZWA<N>
[src]
impl<N: Hash + Scalar> Hash for XYZWA<N>
fn hash<__HN: Hasher>(&self, state: &mut __HN)
[src]
fn hash<__HN: Hasher>(&self, state: &mut __HN)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<N: Debug + Scalar> Debug for XYZWA<N>
[src]
impl<N: Debug + Scalar> Debug for XYZWA<N>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<N: Copy + Scalar> Copy for XYZWA<N>
[src]
impl<N: Copy + Scalar> Copy for XYZWA<N>