Struct nalgebra::core::coordinates::XYZW
[−]
[src]
#[repr(C)]pub struct XYZW<N: Scalar> { pub x: N, pub y: N, pub z: N, pub w: 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
Trait Implementations
impl<N: Eq + Scalar> Eq for XYZW<N>
[src]
impl<N: PartialEq + Scalar> PartialEq for XYZW<N>
[src]
fn eq(&self, __arg_0: &XYZW<N>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &XYZW<N>) -> bool
[src]
This method tests for !=
.
impl<N: Clone + Scalar> Clone for XYZW<N>
[src]
fn clone(&self) -> XYZW<N>
[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<N: Hash + Scalar> Hash for XYZW<N>
[src]
fn hash<__HN: Hasher>(&self, __arg_0: &mut __HN)
[src]
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]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<N: Debug + Scalar> Debug for XYZW<N>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more