Struct glm::Matrix2x3
[−]
[src]
Fields
c0: Vector3<T>
c1: Vector3<T>
Methods
impl<T: BaseFloat> Matrix2x3<T>
[src]
impl<T: BaseFloat> Matrix2x3<T>
pub fn new(c0: Vector3<T>, c1: Vector3<T>) -> Matrix2x3<T>
[src]
pub fn new(c0: Vector3<T>, c1: Vector3<T>) -> Matrix2x3<T>
pub fn from_array(ary: &[Vector3<T>; 2]) -> &Matrix2x3<T>
[src]
pub fn from_array(ary: &[Vector3<T>; 2]) -> &Matrix2x3<T>
pub fn from_array_mut(ary: &mut [Vector3<T>; 2]) -> &mut Matrix2x3<T>
[src]
pub fn from_array_mut(ary: &mut [Vector3<T>; 2]) -> &mut Matrix2x3<T>
pub fn as_array(&self) -> &[Vector3<T>; 2]
[src]
pub fn as_array(&self) -> &[Vector3<T>; 2]
pub fn as_array_mut(&mut self) -> &mut [Vector3<T>; 2]
[src]
pub fn as_array_mut(&mut self) -> &mut [Vector3<T>; 2]
pub fn add_s(&self, rhs: T) -> Matrix2x3<T>
[src]
pub fn add_s(&self, rhs: T) -> Matrix2x3<T>
pub fn add_m(&self, rhs: &Matrix2x3<T>) -> Matrix2x3<T>
[src]
pub fn add_m(&self, rhs: &Matrix2x3<T>) -> Matrix2x3<T>
pub fn sub_s(&self, rhs: T) -> Matrix2x3<T>
[src]
pub fn sub_s(&self, rhs: T) -> Matrix2x3<T>
pub fn sub_m(&self, rhs: &Matrix2x3<T>) -> Matrix2x3<T>
[src]
pub fn sub_m(&self, rhs: &Matrix2x3<T>) -> Matrix2x3<T>
pub fn div_m(&self, rhs: &Matrix2x3<T>) -> Matrix2x3<T>
[src]
pub fn div_m(&self, rhs: &Matrix2x3<T>) -> Matrix2x3<T>
pub fn div_s(&self, rhs: T) -> Matrix2x3<T>
[src]
pub fn div_s(&self, rhs: T) -> Matrix2x3<T>
pub fn rem_m(&self, rhs: &Matrix2x3<T>) -> Matrix2x3<T>
[src]
pub fn rem_m(&self, rhs: &Matrix2x3<T>) -> Matrix2x3<T>
pub fn rem_s(&self, rhs: T) -> Matrix2x3<T>
[src]
pub fn rem_s(&self, rhs: T) -> Matrix2x3<T>
pub fn mul_s(&self, rhs: T) -> Matrix2x3<T>
[src]
pub fn mul_s(&self, rhs: T) -> Matrix2x3<T>
pub fn mul_v(&self, rhs: &Vector2<T>) -> Vector3<T>
[src]
pub fn mul_v(&self, rhs: &Vector2<T>) -> Vector3<T>
pub fn mul_m(&self, rhs: &Matrix3x2<T>) -> Matrix3<T>
[src]
pub fn mul_m(&self, rhs: &Matrix3x2<T>) -> Matrix3<T>
pub fn neg_m(&self) -> Matrix2x3<T>
[src]
pub fn neg_m(&self) -> Matrix2x3<T>
Trait Implementations
impl<T: Copy + BaseFloat> Copy for Matrix2x3<T>
[src]
impl<T: Copy + BaseFloat> Copy for Matrix2x3<T>
impl<T: Clone + BaseFloat> Clone for Matrix2x3<T>
[src]
impl<T: Clone + BaseFloat> Clone for Matrix2x3<T>
fn clone(&self) -> Matrix2x3<T>
[src]
fn clone(&self) -> Matrix2x3<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: PartialEq + BaseFloat> PartialEq for Matrix2x3<T>
[src]
impl<T: PartialEq + BaseFloat> PartialEq for Matrix2x3<T>
fn eq(&self, __arg_0: &Matrix2x3<T>) -> bool
[src]
fn eq(&self, __arg_0: &Matrix2x3<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Matrix2x3<T>) -> bool
[src]
fn ne(&self, __arg_0: &Matrix2x3<T>) -> bool
This method tests for !=
.
impl<T: Debug + BaseFloat> Debug for Matrix2x3<T>
[src]
impl<T: Debug + BaseFloat> Debug for Matrix2x3<T>
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: BaseFloat> Mul<Matrix2x3<T>> for Matrix3x2<T>
[src]
impl<T: BaseFloat> Mul<Matrix2x3<T>> for Matrix3x2<T>
type Output = Matrix2<T>
The resulting type after applying the *
operator.
fn mul(self, rhs: Matrix2x3<T>) -> Matrix2<T>
[src]
fn mul(self, rhs: Matrix2x3<T>) -> Matrix2<T>
Performs the *
operation.
impl<T: BaseFloat> Index<usize> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Index<usize> for Matrix2x3<T>
type Output = Vector3<T>
The returned type after indexing.
fn index<'a>(&'a self, i: usize) -> &'a Vector3<T>
[src]
fn index<'a>(&'a self, i: usize) -> &'a Vector3<T>
Performs the indexing (container[index]
) operation.
impl<T: BaseFloat> IndexMut<usize> for Matrix2x3<T>
[src]
impl<T: BaseFloat> IndexMut<usize> for Matrix2x3<T>
fn index_mut<'a>(&'a mut self, i: usize) -> &'a mut Vector3<T>
[src]
fn index_mut<'a>(&'a mut self, i: usize) -> &'a mut Vector3<T>
Performs the mutable indexing (container[index]
) operation.
impl<T: BaseFloat> Rand for Matrix2x3<T>
[src]
impl<T: BaseFloat> Rand for Matrix2x3<T>
fn rand<R: Rng>(rng: &mut R) -> Matrix2x3<T>
[src]
fn rand<R: Rng>(rng: &mut R) -> Matrix2x3<T>
Generates a random instance of this type using the specified source of randomness. Read more
impl<T: BaseFloat> Add<T> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Add<T> for Matrix2x3<T>
type Output = Matrix2x3<T>
The resulting type after applying the +
operator.
fn add(self, rhs: T) -> Matrix2x3<T>
[src]
fn add(self, rhs: T) -> Matrix2x3<T>
Performs the +
operation.
impl<T: BaseFloat> ApproxEq for Matrix2x3<T>
[src]
impl<T: BaseFloat> ApproxEq for Matrix2x3<T>
type BaseType = T
fn is_close_to(&self, rhs: &Matrix2x3<T>, max_diff: T) -> bool
[src]
fn is_close_to(&self, rhs: &Matrix2x3<T>, max_diff: T) -> bool
Returns true
if the difference between x
and y
is less than max_diff
. Read more
fn is_approx_eq(&self, rhs: &Self) -> bool
[src]
fn is_approx_eq(&self, rhs: &Self) -> bool
Returns true
if the difference between x
and y
is less than machine epsilon. Read more
impl<T: BaseFloat> Add<Matrix2x3<T>> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Add<Matrix2x3<T>> for Matrix2x3<T>
type Output = Matrix2x3<T>
The resulting type after applying the +
operator.
fn add(self, rhs: Matrix2x3<T>) -> Matrix2x3<T>
[src]
fn add(self, rhs: Matrix2x3<T>) -> Matrix2x3<T>
Performs the +
operation.
impl<T: BaseFloat> Sub<T> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Sub<T> for Matrix2x3<T>
type Output = Matrix2x3<T>
The resulting type after applying the -
operator.
fn sub(self, rhs: T) -> Matrix2x3<T>
[src]
fn sub(self, rhs: T) -> Matrix2x3<T>
Performs the -
operation.
impl<T: BaseFloat> Sub<Matrix2x3<T>> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Sub<Matrix2x3<T>> for Matrix2x3<T>
type Output = Matrix2x3<T>
The resulting type after applying the -
operator.
fn sub(self, rhs: Matrix2x3<T>) -> Matrix2x3<T>
[src]
fn sub(self, rhs: Matrix2x3<T>) -> Matrix2x3<T>
Performs the -
operation.
impl<T: BaseFloat> Div<T> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Div<T> for Matrix2x3<T>
type Output = Matrix2x3<T>
The resulting type after applying the /
operator.
fn div(self, rhs: T) -> Matrix2x3<T>
[src]
fn div(self, rhs: T) -> Matrix2x3<T>
Performs the /
operation.
impl<T: BaseFloat> Div<Matrix2x3<T>> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Div<Matrix2x3<T>> for Matrix2x3<T>
type Output = Matrix2x3<T>
The resulting type after applying the /
operator.
fn div(self, rhs: Matrix2x3<T>) -> Matrix2x3<T>
[src]
fn div(self, rhs: Matrix2x3<T>) -> Matrix2x3<T>
Performs the /
operation.
impl<T: BaseFloat> Rem<T> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Rem<T> for Matrix2x3<T>
type Output = Matrix2x3<T>
The resulting type after applying the %
operator.
fn rem(self, rhs: T) -> Matrix2x3<T>
[src]
fn rem(self, rhs: T) -> Matrix2x3<T>
Performs the %
operation.
impl<T: BaseFloat> Rem<Matrix2x3<T>> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Rem<Matrix2x3<T>> for Matrix2x3<T>
type Output = Matrix2x3<T>
The resulting type after applying the %
operator.
fn rem(self, rhs: Matrix2x3<T>) -> Matrix2x3<T>
[src]
fn rem(self, rhs: Matrix2x3<T>) -> Matrix2x3<T>
Performs the %
operation.
impl<T: BaseFloat> Neg for Matrix2x3<T>
[src]
impl<T: BaseFloat> Neg for Matrix2x3<T>
type Output = Matrix2x3<T>
The resulting type after applying the -
operator.
fn neg(self) -> Matrix2x3<T>
[src]
fn neg(self) -> Matrix2x3<T>
Performs the unary -
operation.
impl<T: BaseFloat> Mul<T> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Mul<T> for Matrix2x3<T>
type Output = Matrix2x3<T>
The resulting type after applying the *
operator.
fn mul(self, rhs: T) -> Matrix2x3<T>
[src]
fn mul(self, rhs: T) -> Matrix2x3<T>
Performs the *
operation.
impl<T: BaseFloat> Mul<Vector2<T>> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Mul<Vector2<T>> for Matrix2x3<T>
type Output = Vector3<T>
The resulting type after applying the *
operator.
fn mul(self, rhs: Vector2<T>) -> Vector3<T>
[src]
fn mul(self, rhs: Vector2<T>) -> Vector3<T>
Performs the *
operation.
impl<T: BaseFloat> Mul<Matrix3x2<T>> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Mul<Matrix3x2<T>> for Matrix2x3<T>
type Output = Matrix3<T>
The resulting type after applying the *
operator.
fn mul(self, rhs: Matrix3x2<T>) -> Matrix3<T>
[src]
fn mul(self, rhs: Matrix3x2<T>) -> Matrix3<T>
Performs the *
operation.
impl<T: BaseFloat> Zero for Matrix2x3<T>
[src]
impl<T: BaseFloat> Zero for Matrix2x3<T>
fn zero() -> Matrix2x3<T>
[src]
fn zero() -> Matrix2x3<T>
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: BaseFloat> GenMat<T, Vector3<T>> for Matrix2x3<T>
[src]
impl<T: BaseFloat> GenMat<T, Vector3<T>> for Matrix2x3<T>
type R = Vector2<T>
Type of row vectors.
type Transpose = Matrix3x2<T>
Type of transpose matrix.
fn transpose(&self) -> Matrix3x2<T>
[src]
fn transpose(&self) -> Matrix3x2<T>
Returns the transpose matrix. Read more
fn mul_c(&self, rhs: &Matrix2x3<T>) -> Matrix2x3<T>
[src]
fn mul_c(&self, rhs: &Matrix2x3<T>) -> Matrix2x3<T>
Component-wise multiplication. Read more
impl<T: BaseFloat> Mul<Matrix2<T>> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Mul<Matrix2<T>> for Matrix2x3<T>
type Output = Matrix2x3<T>
The resulting type after applying the *
operator.
fn mul(self, rhs: Matrix2<T>) -> Matrix2x3<T>
[src]
fn mul(self, rhs: Matrix2<T>) -> Matrix2x3<T>
Performs the *
operation.
impl<T: BaseFloat> Mul<Matrix4x2<T>> for Matrix2x3<T>
[src]
impl<T: BaseFloat> Mul<Matrix4x2<T>> for Matrix2x3<T>
type Output = Matrix4x3<T>
The resulting type after applying the *
operator.
fn mul(self, rhs: Matrix4x2<T>) -> Matrix4x3<T>
[src]
fn mul(self, rhs: Matrix4x2<T>) -> Matrix4x3<T>
Performs the *
operation.
impl<T: BaseFloat> Mul<Matrix2x3<T>> for Matrix3<T>
[src]
impl<T: BaseFloat> Mul<Matrix2x3<T>> for Matrix3<T>
type Output = Matrix2x3<T>
The resulting type after applying the *
operator.
fn mul(self, rhs: Matrix2x3<T>) -> Matrix2x3<T>
[src]
fn mul(self, rhs: Matrix2x3<T>) -> Matrix2x3<T>
Performs the *
operation.
impl<T: BaseFloat> Mul<Matrix2x3<T>> for Matrix3x4<T>
[src]
impl<T: BaseFloat> Mul<Matrix2x3<T>> for Matrix3x4<T>