Struct vecmat::mat::Mat4x3 [−][src]
Fields
data: [T; 12]
Methods
impl<T> Mat4x3<T> where
T: Copy + Default,
[src]
impl<T> Mat4x3<T> where
T: Copy + Default,
impl<T> Mat4x3<T> where
T: Copy,
[src]
impl<T> Mat4x3<T> where
T: Copy,
pub fn from_array(a: [T; 12]) -> Self
[src]
pub fn from_array(a: [T; 12]) -> Self
pub fn from_array_ref(a: &[T; 12]) -> Self
[src]
pub fn from_array_ref(a: &[T; 12]) -> Self
pub 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) -> Self
impl<'a, T> Mat4x3<T> where
T: Copy,
[src]
impl<'a, T> Mat4x3<T> where
T: Copy,
impl<'a, T> Mat4x3<T> where
T: Copy,
[src]
impl<'a, T> Mat4x3<T> where
T: Copy,
impl<T> Mat4x3<T> where
T: Copy,
[src]
impl<T> Mat4x3<T> where
T: Copy,
impl<T> Mat4x3<T> where
T: Copy + Zero,
[src]
impl<T> Mat4x3<T> where
T: Copy + Zero,
impl<T> Mat4x3<T> where
T: Copy,
[src]
impl<T> Mat4x3<T> where
T: Copy,
impl<T> Mat4x3<T> where
T: Copy,
[src]
impl<T> Mat4x3<T> where
T: Copy,
impl<T> Mat4x3<T> where
T: Copy,
[src]
impl<T> Mat4x3<T> where
T: Copy,
pub fn from(
v00: T,
v01: T,
v02: T,
v10: T,
v11: T,
v12: T,
v20: T,
v21: T,
v22: T,
v30: T,
v31: T,
v32: T
) -> Self
[src]
pub fn from(
v00: T,
v01: T,
v02: T,
v10: T,
v11: T,
v12: T,
v20: T,
v21: T,
v22: T,
v30: T,
v31: T,
v32: T
) -> Self
Trait Implementations
impl<T: Clone + Copy> Clone for Mat4x3<T>
[src]
impl<T: Clone + Copy> Clone for Mat4x3<T>
fn clone(&self) -> Mat4x3<T>
[src]
fn clone(&self) -> Mat4x3<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 Mat4x3<T>
[src]
impl<T: Copy + Copy> Copy for Mat4x3<T>
impl<T: Debug + Copy> Debug for Mat4x3<T>
[src]
impl<T: Debug + Copy> Debug for Mat4x3<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: PartialEq + Copy> PartialEq for Mat4x3<T>
[src]
impl<T: PartialEq + Copy> PartialEq for Mat4x3<T>
fn eq(&self, other: &Mat4x3<T>) -> bool
[src]
fn eq(&self, other: &Mat4x3<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Mat4x3<T>) -> bool
[src]
fn ne(&self, other: &Mat4x3<T>) -> bool
This method tests for !=
.
impl<T> Default for Mat4x3<T> where
T: Copy + Default,
[src]
impl<T> Default for Mat4x3<T> where
T: Copy + Default,
impl<'a, T> IntoIterator for &'a Mat4x3<T> where
T: Copy,
[src]
impl<'a, T> IntoIterator for &'a Mat4x3<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::IntoIter
Creates an iterator from a value. Read more
impl<'a, T> IntoIterator for &'a mut Mat4x3<T> where
T: Copy,
[src]
impl<'a, T> IntoIterator for &'a mut Mat4x3<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::IntoIter
Creates an iterator from a value. Read more
impl<T> Display for Mat4x3<T> where
T: Copy + Display,
[src]
impl<T> Display for Mat4x3<T> where
T: Copy + Display,
fn fmt(&self, f: &mut Formatter) -> FmtResult
[src]
fn fmt(&self, f: &mut Formatter) -> FmtResult
Formats the value using the given formatter. Read more
impl<T> Index<(usize, usize)> for Mat4x3<T> where
T: Copy,
[src]
impl<T> Index<(usize, usize)> for Mat4x3<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::Output
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<(usize, usize)> for Mat4x3<T> where
T: Copy,
[src]
impl<T> IndexMut<(usize, usize)> for Mat4x3<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::Output
Performs the mutable indexing (container[index]
) operation.
impl<T> Neg for Mat4x3<T> where
T: Copy + Num + Signed,
[src]
impl<T> Neg for Mat4x3<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::Output
Performs the unary -
operation.
impl<T> Add for Mat4x3<T> where
T: Copy + Num + Add<Output = T>,
[src]
impl<T> Add for Mat4x3<T> where
T: Copy + Num + Add<Output = T>,
type Output = Mat4x3<T>
The resulting type after applying the +
operator.
fn add(self, mat: Mat4x3<T>) -> Self::Output
[src]
fn add(self, mat: Mat4x3<T>) -> Self::Output
Performs the +
operation.
impl<T> Sub for Mat4x3<T> where
T: Copy + Num + Sub<Output = T>,
[src]
impl<T> Sub for Mat4x3<T> where
T: Copy + Num + Sub<Output = T>,
type Output = Mat4x3<T>
The resulting type after applying the -
operator.
fn sub(self, mat: Mat4x3<T>) -> Self::Output
[src]
fn sub(self, mat: Mat4x3<T>) -> Self::Output
Performs the -
operation.
impl<T> Mul for Mat4x3<T> where
T: Copy + Num + Mul<Output = T>,
[src]
impl<T> Mul for Mat4x3<T> where
T: Copy + Num + Mul<Output = T>,
type Output = Mat4x3<T>
The resulting type after applying the *
operator.
fn mul(self, mat: Mat4x3<T>) -> Self::Output
[src]
fn mul(self, mat: Mat4x3<T>) -> Self::Output
Performs the *
operation.
impl<T> Div for Mat4x3<T> where
T: Copy + Num + Div<Output = T>,
[src]
impl<T> Div for Mat4x3<T> where
T: Copy + Num + Div<Output = T>,
type Output = Mat4x3<T>
The resulting type after applying the /
operator.
fn div(self, mat: Mat4x3<T>) -> Self::Output
[src]
fn div(self, mat: Mat4x3<T>) -> Self::Output
Performs the /
operation.
impl<T> Rem for Mat4x3<T> where
T: Copy + Num + Rem<Output = T>,
[src]
impl<T> Rem for Mat4x3<T> where
T: Copy + Num + Rem<Output = T>,
type Output = Mat4x3<T>
The resulting type after applying the %
operator.
fn rem(self, mat: Mat4x3<T>) -> Self::Output
[src]
fn rem(self, mat: Mat4x3<T>) -> Self::Output
Performs the %
operation.
impl<T> Mul<T> for Mat4x3<T> where
T: Copy + Num + Mul<Output = T>,
[src]
impl<T> Mul<T> for Mat4x3<T> where
T: Copy + Num + Mul<Output = T>,
type Output = Mat4x3<T>
The resulting type after applying the *
operator.
fn mul(self, a: T) -> Self::Output
[src]
fn mul(self, a: T) -> Self::Output
Performs the *
operation.
impl<T> Div<T> for Mat4x3<T> where
T: Copy + Num + Div<Output = T>,
[src]
impl<T> Div<T> for Mat4x3<T> where
T: Copy + Num + Div<Output = T>,
type Output = Mat4x3<T>
The resulting type after applying the /
operator.
fn div(self, a: T) -> Self::Output
[src]
fn div(self, a: T) -> Self::Output
Performs the /
operation.
impl<T> Rem<T> for Mat4x3<T> where
T: Copy + Num + Rem<Output = T>,
[src]
impl<T> Rem<T> for Mat4x3<T> where
T: Copy + Num + Rem<Output = T>,
type Output = Mat4x3<T>
The resulting type after applying the %
operator.
fn rem(self, a: T) -> Self::Output
[src]
fn rem(self, a: T) -> Self::Output
Performs the %
operation.
impl<T> AddAssign<Mat4x3<T>> for Mat4x3<T> where
T: Copy + Num + Add<Output = T>,
[src]
impl<T> AddAssign<Mat4x3<T>> for Mat4x3<T> where
T: Copy + Num + Add<Output = T>,
fn add_assign(&mut self, mat: Mat4x3<T>)
[src]
fn add_assign(&mut self, mat: Mat4x3<T>)
Performs the +=
operation.
impl<T> SubAssign<Mat4x3<T>> for Mat4x3<T> where
T: Copy + Num + Sub<Output = T>,
[src]
impl<T> SubAssign<Mat4x3<T>> for Mat4x3<T> where
T: Copy + Num + Sub<Output = T>,
fn sub_assign(&mut self, mat: Mat4x3<T>)
[src]
fn sub_assign(&mut self, mat: Mat4x3<T>)
Performs the -=
operation.
impl<T> MulAssign<Mat4x3<T>> for Mat4x3<T> where
T: Copy + Num + Mul<Output = T>,
[src]
impl<T> MulAssign<Mat4x3<T>> for Mat4x3<T> where
T: Copy + Num + Mul<Output = T>,
fn mul_assign(&mut self, mat: Mat4x3<T>)
[src]
fn mul_assign(&mut self, mat: Mat4x3<T>)
Performs the *=
operation.
impl<T> DivAssign<Mat4x3<T>> for Mat4x3<T> where
T: Copy + Num + Div<Output = T>,
[src]
impl<T> DivAssign<Mat4x3<T>> for Mat4x3<T> where
T: Copy + Num + Div<Output = T>,
fn div_assign(&mut self, mat: Mat4x3<T>)
[src]
fn div_assign(&mut self, mat: Mat4x3<T>)
Performs the /=
operation.
impl<T> RemAssign<Mat4x3<T>> for Mat4x3<T> where
T: Copy + Num + Rem<Output = T>,
[src]
impl<T> RemAssign<Mat4x3<T>> for Mat4x3<T> where
T: Copy + Num + Rem<Output = T>,
fn rem_assign(&mut self, mat: Mat4x3<T>)
[src]
fn rem_assign(&mut self, mat: Mat4x3<T>)
Performs the %=
operation.
impl<T> MulAssign<T> for Mat4x3<T> where
T: Copy + Num + Mul<Output = T>,
[src]
impl<T> MulAssign<T> for Mat4x3<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 Mat4x3<T> where
T: Copy + Num + Div<Output = T>,
[src]
impl<T> DivAssign<T> for Mat4x3<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 Mat4x3<T> where
T: Copy + Num + Rem<Output = T>,
[src]
impl<T> RemAssign<T> for Mat4x3<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 Mat4x3<T> where
T: Copy + Num + Zero,
[src]
impl<T> Zero for Mat4x3<T> where
T: Copy + Num + Zero,
fn zero() -> Self
[src]
fn zero() -> Self
Returns the additive identity element of Self
, 0
. Read more
fn is_zero(&self) -> bool
[src]
fn is_zero(&self) -> bool
Returns true
if self
is equal to the additive identity.
impl<T> Dot<Vec4<T>> for Mat4x3<T> where
T: Copy + Num,
[src]
impl<T> Dot<Vec4<T>> for Mat4x3<T> where
T: Copy + Num,
impl<T> Dot<Mat4x3<T>> for Vec3<T> where
T: Copy + Num,
[src]
impl<T> Dot<Mat4x3<T>> for Vec3<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<T> Dot<Mat4x3<T>> for Mat3x3<T> where
T: Copy + Num,
[src]
impl<T> Dot<Mat4x3<T>> for Mat3x3<T> where
T: Copy + Num,
impl<T> Dot<Mat4x3<T>> for Mat3x4<T> where
T: Copy + Num,
[src]
impl<T> Dot<Mat4x3<T>> for Mat3x4<T> where
T: Copy + Num,
impl<T> Dot<Mat2x4<T>> for Mat4x3<T> where
T: Copy + Num,
[src]
impl<T> Dot<Mat2x4<T>> for Mat4x3<T> where
T: Copy + Num,
impl<T> Dot<Mat3x4<T>> for Mat4x3<T> where
T: Copy + Num,
[src]
impl<T> Dot<Mat3x4<T>> for Mat4x3<T> where
T: Copy + Num,
impl<T> Dot<Mat4x4<T>> for Mat4x3<T> where
T: Copy + Num,
[src]
impl<T> Dot<Mat4x4<T>> for Mat4x3<T> where
T: Copy + Num,
impl Mul<Mat4x3<i8>> for i8
[src]
impl Mul<Mat4x3<i8>> for i8
type Output = Mat4x3<i8>
The resulting type after applying the *
operator.
fn mul(self, a: Mat4x3<i8>) -> Self::Output
[src]
fn mul(self, a: Mat4x3<i8>) -> Self::Output
Performs the *
operation.
impl Mul<Mat4x3<u8>> for u8
[src]
impl Mul<Mat4x3<u8>> for u8
type Output = Mat4x3<u8>
The resulting type after applying the *
operator.
fn mul(self, a: Mat4x3<u8>) -> Self::Output
[src]
fn mul(self, a: Mat4x3<u8>) -> Self::Output
Performs the *
operation.
impl Mul<Mat4x3<i16>> for i16
[src]
impl Mul<Mat4x3<i16>> for i16
type Output = Mat4x3<i16>
The resulting type after applying the *
operator.
fn mul(self, a: Mat4x3<i16>) -> Self::Output
[src]
fn mul(self, a: Mat4x3<i16>) -> Self::Output
Performs the *
operation.
impl Mul<Mat4x3<u16>> for u16
[src]
impl Mul<Mat4x3<u16>> for u16
type Output = Mat4x3<u16>
The resulting type after applying the *
operator.
fn mul(self, a: Mat4x3<u16>) -> Self::Output
[src]
fn mul(self, a: Mat4x3<u16>) -> Self::Output
Performs the *
operation.
impl Mul<Mat4x3<i32>> for i32
[src]
impl Mul<Mat4x3<i32>> for i32
type Output = Mat4x3<i32>
The resulting type after applying the *
operator.
fn mul(self, a: Mat4x3<i32>) -> Self::Output
[src]
fn mul(self, a: Mat4x3<i32>) -> Self::Output
Performs the *
operation.
impl Mul<Mat4x3<u32>> for u32
[src]
impl Mul<Mat4x3<u32>> for u32
type Output = Mat4x3<u32>
The resulting type after applying the *
operator.
fn mul(self, a: Mat4x3<u32>) -> Self::Output
[src]
fn mul(self, a: Mat4x3<u32>) -> Self::Output
Performs the *
operation.
impl Mul<Mat4x3<i64>> for i64
[src]
impl Mul<Mat4x3<i64>> for i64
type Output = Mat4x3<i64>
The resulting type after applying the *
operator.
fn mul(self, a: Mat4x3<i64>) -> Self::Output
[src]
fn mul(self, a: Mat4x3<i64>) -> Self::Output
Performs the *
operation.
impl Mul<Mat4x3<u64>> for u64
[src]
impl Mul<Mat4x3<u64>> for u64
type Output = Mat4x3<u64>
The resulting type after applying the *
operator.
fn mul(self, a: Mat4x3<u64>) -> Self::Output
[src]
fn mul(self, a: Mat4x3<u64>) -> Self::Output
Performs the *
operation.
impl Mul<Mat4x3<f32>> for f32
[src]
impl Mul<Mat4x3<f32>> for f32
type Output = Mat4x3<f32>
The resulting type after applying the *
operator.
fn mul(self, a: Mat4x3<f32>) -> Self::Output
[src]
fn mul(self, a: Mat4x3<f32>) -> Self::Output
Performs the *
operation.
impl Mul<Mat4x3<f64>> for f64
[src]
impl Mul<Mat4x3<f64>> for f64