[][src]Struct glsl_linalg::matrix::M2

pub struct M2<T>(pub [[T; 2]; 2]);

Trait Implementations

impl<F> Converter<M2<F>, M2<F>> for EmptyConverter where
    F: Numeric
[src]

impl<T> Finalizer<M2<T>> for M2<T>[src]

impl<T> Finalizer<M2<T>> for V1<T> where
    T: Numeric
[src]

impl<T> Matrix for M2<T> where
    T: Numeric
[src]

impl<F> FloatMatrix<F> for M2<F> where
    F: Float
[src]

fn inverse(&self) -> Self[src]

impl<T> IntoVectors<(V2<T>, V2<T>)> for M2<T> where
    T: Numeric
[src]

impl<T> FromVectors<(V2<T>, V2<T>)> for M2<T> where
    T: Numeric
[src]

impl<T: Copy> Copy for M2<T>[src]

impl<T: PartialEq> PartialEq<M2<T>> for M2<T>[src]

impl<T: Default> Default for M2<T>[src]

impl<T: Clone> Clone for M2<T>[src]

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

Performs copy-assignment from source. Read more

impl<T> DerefMut for M2<T> where
    T: Numeric
[src]

impl<T: Debug> Debug for M2<T>[src]

impl<T> Sub<M2<T>> for M2<T> where
    T: Numeric
[src]

type Output = M2<T>

The resulting type after applying the - operator.

impl<T> Add<M2<T>> for M2<T> where
    T: Numeric
[src]

type Output = M2<T>

The resulting type after applying the + operator.

impl<T> Mul<M2<T>> for M2<T> where
    T: Numeric
[src]

type Output = M2<T>

The resulting type after applying the * operator.

impl<T> Mul<V2<T>> for M2<T> where
    T: Numeric
[src]

type Output = V2<T>

The resulting type after applying the * operator.

impl Mul<M2<i8>> for i8[src]

type Output = M2<i8>

The resulting type after applying the * operator.

impl Mul<M2<i16>> for i16[src]

type Output = M2<i16>

The resulting type after applying the * operator.

impl Mul<M2<i32>> for i32[src]

type Output = M2<i32>

The resulting type after applying the * operator.

impl Mul<M2<i64>> for i64[src]

type Output = M2<i64>

The resulting type after applying the * operator.

impl Mul<M2<f32>> for f32[src]

type Output = M2<f32>

The resulting type after applying the * operator.

impl Mul<M2<f64>> for f64[src]

type Output = M2<f64>

The resulting type after applying the * operator.

impl<T> Mul<M2<T>> for V2<T> where
    T: Numeric
[src]

type Output = V2<T>

The resulting type after applying the * operator.

impl<T> Div<T> for M2<T> where
    T: Numeric
[src]

type Output = M2<T>

The resulting type after applying the / operator.

impl<T> Deref for M2<T> where
    T: Numeric
[src]

type Target = [[T; 2]; 2]

The resulting type after dereferencing.

Auto Trait Implementations

impl<T> Send for M2<T> where
    T: Send

impl<T> Sync for M2<T> where
    T: Sync

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.