[][src]Struct na::base::coordinates::M2x2

#[repr(C)]
pub struct M2x2<N> where
    N: Scalar
{ pub m11: N, pub m21: N, pub m12: N, pub m22: 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: Nm21: Nm12: Nm22: N

Trait Implementations

impl<N> Clone for M2x2<N> where
    N: Scalar + Clone
[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<N> PartialEq<M2x2<N>> for M2x2<N> where
    N: Scalar + PartialEq<N>, 
[src]

impl<N> Debug for M2x2<N> where
    N: Scalar + Debug
[src]

impl<N> Hash for M2x2<N> where
    N: Scalar + Hash
[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> Eq for M2x2<N> where
    N: Scalar + Eq
[src]

impl<N> Copy for M2x2<N> where
    N: Scalar + Copy
[src]

Auto Trait Implementations

impl<N> Send for M2x2<N> where
    N: Send

impl<N> Sync for M2x2<N> where
    N: Sync

Blanket Implementations

impl<V> IntoVec<V> for V[src]

impl<V> IntoPnt<V> for V[src]

impl<T> IntoPnt<Point<T, U2>> for T where
    T: Scalar
[src]

impl<T> IntoPnt<Point<T, U3>> for T where
    T: Scalar
[src]

impl<T> IntoPnt<Point<T, U4>> for T where
    T: Scalar
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

fn is<T>() -> bool where
    T: Scalar
[src]

Tests if Self the same as the type T Read more

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]