Struct vecmat::mat::Mat3x2  [−][src]
Fields
data: [T; 6]
                           
                    Methods
impl<T> Mat3x2<T> where
    T: Copy + Default, [src] 
impl<T> Mat3x2<T> where
    T: Copy + Default, impl<T> Mat3x2<T> where
    T: Copy, [src] 
impl<T> Mat3x2<T> where
    T: Copy, pub fn from_array(a: [T; 6]) -> Self[src] 
pub fn from_array(a: [T; 6]) -> Selfpub fn from_array_ref(a: &[T; 6]) -> Self[src] 
pub fn from_array_ref(a: &[T; 6]) -> Selfpub fn from_slice(s: &[T]) -> Option<Self>[src] 
pub fn from_slice(s: &[T]) -> Option<Self>pub fn from_map<F>(f: F) -> Self where
    F: Fn(usize, usize) -> T, [src] 
pub fn from_map<F>(f: F) -> Self where
    F: Fn(usize, usize) -> T, pub fn from_scalar(v: T) -> Self[src] 
pub fn from_scalar(v: T) -> Selfimpl<'a, T> Mat3x2<T> where
    T: Copy, [src] 
impl<'a, T> Mat3x2<T> where
    T: Copy, impl<'a, T> Mat3x2<T> where
    T: Copy, [src] 
impl<'a, T> Mat3x2<T> where
    T: Copy, impl<T> Mat3x2<T> where
    T: Copy, [src] 
impl<T> Mat3x2<T> where
    T: Copy, impl<T> Mat3x2<T> where
    T: Copy + Zero, [src] 
impl<T> Mat3x2<T> where
    T: Copy + Zero, impl<T> Mat3x2<T> where
    T: Copy, [src] 
impl<T> Mat3x2<T> where
    T: Copy, impl<T> Mat3x2<T> where
    T: Copy, [src] 
impl<T> Mat3x2<T> where
    T: Copy, impl<T> Mat3x2<T> where
    T: Copy, [src] 
                impl<T> Mat3x2<T> where
    T: Copy, Trait Implementations
impl<T: Clone + Copy> Clone for Mat3x2<T>[src] 
impl<T: Clone + Copy> Clone for Mat3x2<T>fn clone(&self) -> Mat3x2<T>[src] 
fn clone(&self) -> Mat3x2<T>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)Performs copy-assignment from source. Read more
impl<T: Copy + Copy> Copy for Mat3x2<T>[src] 
impl<T: Copy + Copy> Copy for Mat3x2<T>impl<T: Debug + Copy> Debug for Mat3x2<T>[src] 
impl<T: Debug + Copy> Debug for Mat3x2<T>fn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T: PartialEq + Copy> PartialEq for Mat3x2<T>[src] 
impl<T: PartialEq + Copy> PartialEq for Mat3x2<T>fn eq(&self, other: &Mat3x2<T>) -> bool[src] 
fn eq(&self, other: &Mat3x2<T>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Mat3x2<T>) -> bool[src] 
fn ne(&self, other: &Mat3x2<T>) -> boolThis method tests for !=.
impl<T> Default for Mat3x2<T> where
    T: Copy + Default, [src] 
impl<T> Default for Mat3x2<T> where
    T: Copy + Default, impl<'a, T> IntoIterator for &'a Mat3x2<T> where
    T: Copy, [src] 
impl<'a, T> IntoIterator for &'a Mat3x2<T> where
    T: Copy, type Item = &'a T
The type of the elements being iterated over.
type IntoIter = Iter<'a, T>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter[src] 
fn into_iter(self) -> Self::IntoIterCreates an iterator from a value. Read more
impl<'a, T> IntoIterator for &'a mut Mat3x2<T> where
    T: Copy, [src] 
impl<'a, T> IntoIterator for &'a mut Mat3x2<T> where
    T: Copy, type Item = &'a mut T
The type of the elements being iterated over.
type IntoIter = IterMut<'a, T>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter[src] 
fn into_iter(self) -> Self::IntoIterCreates an iterator from a value. Read more
impl<T> Display for Mat3x2<T> where
    T: Copy + Display, [src] 
impl<T> Display for Mat3x2<T> where
    T: Copy + Display, fn fmt(&self, f: &mut Formatter) -> FmtResult[src] 
fn fmt(&self, f: &mut Formatter) -> FmtResultFormats the value using the given formatter. Read more
impl<T> Index<(usize, usize)> for Mat3x2<T> where
    T: Copy, [src] 
impl<T> Index<(usize, usize)> for Mat3x2<T> where
    T: Copy, type Output = T
The returned type after indexing.
fn index(&self, ij: (usize, usize)) -> &Self::Output[src] 
fn index(&self, ij: (usize, usize)) -> &Self::OutputPerforms the indexing (container[index]) operation.
impl<T> IndexMut<(usize, usize)> for Mat3x2<T> where
    T: Copy, [src] 
impl<T> IndexMut<(usize, usize)> for Mat3x2<T> where
    T: Copy, fn index_mut(&mut self, ij: (usize, usize)) -> &mut Self::Output[src] 
fn index_mut(&mut self, ij: (usize, usize)) -> &mut Self::OutputPerforms the mutable indexing (container[index]) operation.
impl<T> Neg for Mat3x2<T> where
    T: Copy + Num + Signed, [src] 
impl<T> Neg for Mat3x2<T> where
    T: Copy + Num + Signed, type Output = Self
The resulting type after applying the - operator.
fn neg(self) -> Self::Output[src] 
fn neg(self) -> Self::OutputPerforms the unary - operation.
impl<T> Add for Mat3x2<T> where
    T: Copy + Num + Add<Output = T>, [src] 
impl<T> Add for Mat3x2<T> where
    T: Copy + Num + Add<Output = T>, type Output = Mat3x2<T>
The resulting type after applying the + operator.
fn add(self, mat: Mat3x2<T>) -> Self::Output[src] 
fn add(self, mat: Mat3x2<T>) -> Self::OutputPerforms the + operation.
impl<T> Sub for Mat3x2<T> where
    T: Copy + Num + Sub<Output = T>, [src] 
impl<T> Sub for Mat3x2<T> where
    T: Copy + Num + Sub<Output = T>, type Output = Mat3x2<T>
The resulting type after applying the - operator.
fn sub(self, mat: Mat3x2<T>) -> Self::Output[src] 
fn sub(self, mat: Mat3x2<T>) -> Self::OutputPerforms the - operation.
impl<T> Mul for Mat3x2<T> where
    T: Copy + Num + Mul<Output = T>, [src] 
impl<T> Mul for Mat3x2<T> where
    T: Copy + Num + Mul<Output = T>, type Output = Mat3x2<T>
The resulting type after applying the * operator.
fn mul(self, mat: Mat3x2<T>) -> Self::Output[src] 
fn mul(self, mat: Mat3x2<T>) -> Self::OutputPerforms the * operation.
impl<T> Div for Mat3x2<T> where
    T: Copy + Num + Div<Output = T>, [src] 
impl<T> Div for Mat3x2<T> where
    T: Copy + Num + Div<Output = T>, type Output = Mat3x2<T>
The resulting type after applying the / operator.
fn div(self, mat: Mat3x2<T>) -> Self::Output[src] 
fn div(self, mat: Mat3x2<T>) -> Self::OutputPerforms the / operation.
impl<T> Rem for Mat3x2<T> where
    T: Copy + Num + Rem<Output = T>, [src] 
impl<T> Rem for Mat3x2<T> where
    T: Copy + Num + Rem<Output = T>, type Output = Mat3x2<T>
The resulting type after applying the % operator.
fn rem(self, mat: Mat3x2<T>) -> Self::Output[src] 
fn rem(self, mat: Mat3x2<T>) -> Self::OutputPerforms the % operation.
impl<T> Mul<T> for Mat3x2<T> where
    T: Copy + Num + Mul<Output = T>, [src] 
impl<T> Mul<T> for Mat3x2<T> where
    T: Copy + Num + Mul<Output = T>, type Output = Mat3x2<T>
The resulting type after applying the * operator.
fn mul(self, a: T) -> Self::Output[src] 
fn mul(self, a: T) -> Self::OutputPerforms the * operation.
impl<T> Div<T> for Mat3x2<T> where
    T: Copy + Num + Div<Output = T>, [src] 
impl<T> Div<T> for Mat3x2<T> where
    T: Copy + Num + Div<Output = T>, type Output = Mat3x2<T>
The resulting type after applying the / operator.
fn div(self, a: T) -> Self::Output[src] 
fn div(self, a: T) -> Self::OutputPerforms the / operation.
impl<T> Rem<T> for Mat3x2<T> where
    T: Copy + Num + Rem<Output = T>, [src] 
impl<T> Rem<T> for Mat3x2<T> where
    T: Copy + Num + Rem<Output = T>, type Output = Mat3x2<T>
The resulting type after applying the % operator.
fn rem(self, a: T) -> Self::Output[src] 
fn rem(self, a: T) -> Self::OutputPerforms the % operation.
impl<T> AddAssign<Mat3x2<T>> for Mat3x2<T> where
    T: Copy + Num + Add<Output = T>, [src] 
impl<T> AddAssign<Mat3x2<T>> for Mat3x2<T> where
    T: Copy + Num + Add<Output = T>, fn add_assign(&mut self, mat: Mat3x2<T>)[src] 
fn add_assign(&mut self, mat: Mat3x2<T>)Performs the += operation.
impl<T> SubAssign<Mat3x2<T>> for Mat3x2<T> where
    T: Copy + Num + Sub<Output = T>, [src] 
impl<T> SubAssign<Mat3x2<T>> for Mat3x2<T> where
    T: Copy + Num + Sub<Output = T>, fn sub_assign(&mut self, mat: Mat3x2<T>)[src] 
fn sub_assign(&mut self, mat: Mat3x2<T>)Performs the -= operation.
impl<T> MulAssign<Mat3x2<T>> for Mat3x2<T> where
    T: Copy + Num + Mul<Output = T>, [src] 
impl<T> MulAssign<Mat3x2<T>> for Mat3x2<T> where
    T: Copy + Num + Mul<Output = T>, fn mul_assign(&mut self, mat: Mat3x2<T>)[src] 
fn mul_assign(&mut self, mat: Mat3x2<T>)Performs the *= operation.
impl<T> DivAssign<Mat3x2<T>> for Mat3x2<T> where
    T: Copy + Num + Div<Output = T>, [src] 
impl<T> DivAssign<Mat3x2<T>> for Mat3x2<T> where
    T: Copy + Num + Div<Output = T>, fn div_assign(&mut self, mat: Mat3x2<T>)[src] 
fn div_assign(&mut self, mat: Mat3x2<T>)Performs the /= operation.
impl<T> RemAssign<Mat3x2<T>> for Mat3x2<T> where
    T: Copy + Num + Rem<Output = T>, [src] 
impl<T> RemAssign<Mat3x2<T>> for Mat3x2<T> where
    T: Copy + Num + Rem<Output = T>, fn rem_assign(&mut self, mat: Mat3x2<T>)[src] 
fn rem_assign(&mut self, mat: Mat3x2<T>)Performs the %= operation.
impl<T> MulAssign<T> for Mat3x2<T> where
    T: Copy + Num + Mul<Output = T>, [src] 
impl<T> MulAssign<T> for Mat3x2<T> where
    T: Copy + Num + Mul<Output = T>, fn mul_assign(&mut self, a: T)[src] 
fn mul_assign(&mut self, a: T)Performs the *= operation.
impl<T> DivAssign<T> for Mat3x2<T> where
    T: Copy + Num + Div<Output = T>, [src] 
impl<T> DivAssign<T> for Mat3x2<T> where
    T: Copy + Num + Div<Output = T>, fn div_assign(&mut self, a: T)[src] 
fn div_assign(&mut self, a: T)Performs the /= operation.
impl<T> RemAssign<T> for Mat3x2<T> where
    T: Copy + Num + Rem<Output = T>, [src] 
impl<T> RemAssign<T> for Mat3x2<T> where
    T: Copy + Num + Rem<Output = T>, fn rem_assign(&mut self, a: T)[src] 
fn rem_assign(&mut self, a: T)Performs the %= operation.
impl<T> Zero for Mat3x2<T> where
    T: Copy + Num + Zero, [src] 
impl<T> Zero for Mat3x2<T> where
    T: Copy + Num + Zero, fn zero() -> Self[src] 
fn zero() -> SelfReturns the additive identity element of Self, 0. Read more
fn is_zero(&self) -> bool[src] 
fn is_zero(&self) -> boolReturns true if self is equal to the additive identity.
impl<T> Dot<Vec3<T>> for Mat3x2<T> where
    T: Copy + Num, [src] 
impl<T> Dot<Vec3<T>> for Mat3x2<T> where
    T: Copy + Num, impl<T> Dot<Mat3x2<T>> for Vec2<T> where
    T: Copy + Num, [src] 
impl<T> Dot<Mat3x2<T>> for Vec2<T> where
    T: Copy + Num, impl<T> Dot<Mat3x2<T>> for Mat2x2<T> where
    T: Copy + Num, [src] 
impl<T> Dot<Mat3x2<T>> for Mat2x2<T> where
    T: Copy + Num, impl<T> Dot<Mat3x2<T>> for Mat2x3<T> where
    T: Copy + Num, [src] 
impl<T> Dot<Mat3x2<T>> for Mat2x3<T> where
    T: Copy + Num, impl<T> Dot<Mat3x2<T>> for Mat2x4<T> where
    T: Copy + Num, [src] 
impl<T> Dot<Mat3x2<T>> for Mat2x4<T> where
    T: Copy + Num, impl<T> Dot<Mat2x3<T>> for Mat3x2<T> where
    T: Copy + Num, [src] 
impl<T> Dot<Mat2x3<T>> for Mat3x2<T> where
    T: Copy + Num, impl<T> Dot<Mat3x3<T>> for Mat3x2<T> where
    T: Copy + Num, [src] 
impl<T> Dot<Mat3x3<T>> for Mat3x2<T> where
    T: Copy + Num, impl<T> Dot<Mat4x3<T>> for Mat3x2<T> where
    T: Copy + Num, [src] 
impl<T> Dot<Mat4x3<T>> for Mat3x2<T> where
    T: Copy + Num, impl Mul<Mat3x2<i8>> for i8[src] 
impl Mul<Mat3x2<i8>> for i8type Output = Mat3x2<i8>
The resulting type after applying the * operator.
fn mul(self, a: Mat3x2<i8>) -> Self::Output[src] 
fn mul(self, a: Mat3x2<i8>) -> Self::OutputPerforms the * operation.
impl Mul<Mat3x2<u8>> for u8[src] 
impl Mul<Mat3x2<u8>> for u8type Output = Mat3x2<u8>
The resulting type after applying the * operator.
fn mul(self, a: Mat3x2<u8>) -> Self::Output[src] 
fn mul(self, a: Mat3x2<u8>) -> Self::OutputPerforms the * operation.
impl Mul<Mat3x2<i16>> for i16[src] 
impl Mul<Mat3x2<i16>> for i16type Output = Mat3x2<i16>
The resulting type after applying the * operator.
fn mul(self, a: Mat3x2<i16>) -> Self::Output[src] 
fn mul(self, a: Mat3x2<i16>) -> Self::OutputPerforms the * operation.
impl Mul<Mat3x2<u16>> for u16[src] 
impl Mul<Mat3x2<u16>> for u16type Output = Mat3x2<u16>
The resulting type after applying the * operator.
fn mul(self, a: Mat3x2<u16>) -> Self::Output[src] 
fn mul(self, a: Mat3x2<u16>) -> Self::OutputPerforms the * operation.
impl Mul<Mat3x2<i32>> for i32[src] 
impl Mul<Mat3x2<i32>> for i32type Output = Mat3x2<i32>
The resulting type after applying the * operator.
fn mul(self, a: Mat3x2<i32>) -> Self::Output[src] 
fn mul(self, a: Mat3x2<i32>) -> Self::OutputPerforms the * operation.
impl Mul<Mat3x2<u32>> for u32[src] 
impl Mul<Mat3x2<u32>> for u32type Output = Mat3x2<u32>
The resulting type after applying the * operator.
fn mul(self, a: Mat3x2<u32>) -> Self::Output[src] 
fn mul(self, a: Mat3x2<u32>) -> Self::OutputPerforms the * operation.
impl Mul<Mat3x2<i64>> for i64[src] 
impl Mul<Mat3x2<i64>> for i64type Output = Mat3x2<i64>
The resulting type after applying the * operator.
fn mul(self, a: Mat3x2<i64>) -> Self::Output[src] 
fn mul(self, a: Mat3x2<i64>) -> Self::OutputPerforms the * operation.
impl Mul<Mat3x2<u64>> for u64[src] 
impl Mul<Mat3x2<u64>> for u64type Output = Mat3x2<u64>
The resulting type after applying the * operator.
fn mul(self, a: Mat3x2<u64>) -> Self::Output[src] 
fn mul(self, a: Mat3x2<u64>) -> Self::OutputPerforms the * operation.
impl Mul<Mat3x2<f32>> for f32[src] 
impl Mul<Mat3x2<f32>> for f32type Output = Mat3x2<f32>
The resulting type after applying the * operator.
fn mul(self, a: Mat3x2<f32>) -> Self::Output[src] 
fn mul(self, a: Mat3x2<f32>) -> Self::OutputPerforms the * operation.
impl Mul<Mat3x2<f64>> for f64[src] 
impl Mul<Mat3x2<f64>> for f64