Struct nalgebra::core::coordinates::M4x2
[−]
[src]
#[repr(C)]pub struct M4x2<N: Scalar> { pub m11: N, pub m21: N, pub m31: N, pub m41: N, pub m12: N, pub m22: N, pub m32: N, pub m42: 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
m11: N
m21: N
m31: N
m41: N
m12: N
m22: N
m32: N
m42: N
Trait Implementations
impl<N: Eq + Scalar> Eq for M4x2<N>
[src]
impl<N: PartialEq + Scalar> PartialEq for M4x2<N>
[src]
fn eq(&self, __arg_0: &M4x2<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: &M4x2<N>) -> bool
[src]
This method tests for !=
.
impl<N: Clone + Scalar> Clone for M4x2<N>
[src]
fn clone(&self) -> M4x2<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 M4x2<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 M4x2<N>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more