[−][src]Struct cgmath::Matrix4
A 4 x 4, column major matrix
This type is marked as #[repr(C)]
.
Fields
x: Vector4<S>
The first column of the matrix.
y: Vector4<S>
The second column of the matrix.
z: Vector4<S>
The third column of the matrix.
w: Vector4<S>
The fourth column of the matrix.
Methods
impl<S> Matrix4<S>
[src]
pub const fn new(
c0r0: S,
c0r1: S,
c0r2: S,
c0r3: S,
c1r0: S,
c1r1: S,
c1r2: S,
c1r3: S,
c2r0: S,
c2r1: S,
c2r2: S,
c2r3: S,
c3r0: S,
c3r1: S,
c3r2: S,
c3r3: S
) -> Matrix4<S>
[src]
c0r0: S,
c0r1: S,
c0r2: S,
c0r3: S,
c1r0: S,
c1r1: S,
c1r2: S,
c1r3: S,
c2r0: S,
c2r1: S,
c2r2: S,
c2r3: S,
c3r0: S,
c3r1: S,
c3r2: S,
c3r3: S
) -> Matrix4<S>
Create a new matrix, providing values for each index.
pub const fn from_cols(
c0: Vector4<S>,
c1: Vector4<S>,
c2: Vector4<S>,
c3: Vector4<S>
) -> Matrix4<S>
[src]
c0: Vector4<S>,
c1: Vector4<S>,
c2: Vector4<S>,
c3: Vector4<S>
) -> Matrix4<S>
Create a new matrix, providing columns.
impl<S: BaseFloat> Matrix4<S>
[src]
pub fn from_translation(v: Vector3<S>) -> Matrix4<S>
[src]
Create a homogeneous transformation matrix from a translation vector.
pub fn from_scale(value: S) -> Matrix4<S>
[src]
Create a homogeneous transformation matrix from a scale value.
pub fn from_nonuniform_scale(x: S, y: S, z: S) -> Matrix4<S>
[src]
Create a homogeneous transformation matrix from a set of scale values.
pub fn look_at_dir(
eye: Point3<S>,
dir: Vector3<S>,
up: Vector3<S>
) -> Matrix4<S>
[src]
eye: Point3<S>,
dir: Vector3<S>,
up: Vector3<S>
) -> Matrix4<S>
Create a homogeneous transformation matrix that will cause a vector to point at
dir
, using up
for orientation.
pub fn look_at(eye: Point3<S>, center: Point3<S>, up: Vector3<S>) -> Matrix4<S>
[src]
Create a homogeneous transformation matrix that will cause a vector to point at
center
, using up
for orientation.
pub fn from_angle_x<A: Into<Rad<S>>>(theta: A) -> Matrix4<S>
[src]
Create a homogeneous transformation matrix from a rotation around the x
axis (pitch).
pub fn from_angle_y<A: Into<Rad<S>>>(theta: A) -> Matrix4<S>
[src]
Create a homogeneous transformation matrix from a rotation around the y
axis (yaw).
pub fn from_angle_z<A: Into<Rad<S>>>(theta: A) -> Matrix4<S>
[src]
Create a homogeneous transformation matrix from a rotation around the z
axis (roll).
pub fn from_axis_angle<A: Into<Rad<S>>>(
axis: Vector3<S>,
angle: A
) -> Matrix4<S>
[src]
axis: Vector3<S>,
angle: A
) -> Matrix4<S>
Create a homogeneous transformation matrix from an angle around an arbitrary axis.
The specified axis must be normalized, or it represents an invalid rotation.
pub fn is_finite(&self) -> bool
[src]
Are all entries in the matrix finite.
impl<S: NumCast + Copy> Matrix4<S>
[src]
Trait Implementations
impl<S: BaseFloat> VectorSpace for Matrix4<S>
[src]
impl<S: BaseFloat> Matrix for Matrix4<S>
[src]
type Column = Vector4<S>
The column vector of the matrix.
type Row = Vector4<S>
The row vector of the matrix.
type Transpose = Matrix4<S>
The result of transposing the matrix
fn row(&self, r: usize) -> Vector4<S>
[src]
fn swap_rows(&mut self, a: usize, b: usize)
[src]
fn swap_columns(&mut self, a: usize, b: usize)
[src]
fn swap_elements(&mut self, a: (usize, usize), b: (usize, usize))
[src]
fn transpose(&self) -> Matrix4<S>
[src]
fn as_ptr(&self) -> *const Self::Scalar
[src]
fn as_mut_ptr(&mut self) -> *mut Self::Scalar
[src]
fn replace_col(&mut self, c: usize, src: Self::Column) -> Self::Column
[src]
impl<S: BaseFloat> SquareMatrix for Matrix4<S>
[src]
type ColumnRow = Vector4<S>
The row/column vector of the matrix. Read more
fn from_value(value: S) -> Matrix4<S>
[src]
fn from_diagonal(value: Vector4<S>) -> Matrix4<S>
[src]
fn transpose_self(&mut self)
[src]
fn determinant(&self) -> S
[src]
fn diagonal(&self) -> Vector4<S>
[src]
fn invert(&self) -> Option<Matrix4<S>>
[src]
fn is_diagonal(&self) -> bool
[src]
fn is_symmetric(&self) -> bool
[src]
fn identity() -> Self
[src]
fn trace(&self) -> Self::Scalar
[src]
fn is_invertible(&self) -> bool
[src]
fn is_identity(&self) -> bool
[src]
impl<S: BaseFloat> Transform<Point3<S>> for Matrix4<S>
[src]
fn one() -> Matrix4<S>
[src]
fn look_at(eye: Point3<S>, center: Point3<S>, up: Vector3<S>) -> Matrix4<S>
[src]
fn transform_vector(&self, vec: Vector3<S>) -> Vector3<S>
[src]
fn transform_point(&self, point: Point3<S>) -> Point3<S>
[src]
fn concat(&self, other: &Matrix4<S>) -> Matrix4<S>
[src]
fn inverse_transform(&self) -> Option<Matrix4<S>>
[src]
fn inverse_transform_vector(&self, vec: P::Diff) -> Option<P::Diff>
[src]
fn concat_self(&mut self, other: &Self)
[src]
impl<S: BaseFloat> Transform3<S> for Matrix4<S>
[src]
impl<S> Into<[[S; 4]; 4]> for Matrix4<S>
[src]
impl<S> AsMut<[[S; 4]; 4]> for Matrix4<S>
[src]
impl<S> AsMut<[S; 16]> for Matrix4<S>
[src]
impl<S: Clone> Clone for Matrix4<S>
[src]
impl<S> AsRef<[[S; 4]; 4]> for Matrix4<S>
[src]
impl<S> AsRef<[S; 16]> for Matrix4<S>
[src]
impl<S: PartialEq> PartialEq<Matrix4<S>> for Matrix4<S>
[src]
impl<A> From<Euler<A>> for Matrix4<A::Unitless> where
A: Angle + Into<Rad<<A as Angle>::Unitless>>,
[src]
A: Angle + Into<Rad<<A as Angle>::Unitless>>,
impl<S: Copy> From<[[S; 4]; 4]> for Matrix4<S>
[src]
impl<'a, S> From<&'a [[S; 4]; 4]> for &'a Matrix4<S>
[src]
impl<'a, S> From<&'a mut [[S; 4]; 4]> for &'a mut Matrix4<S>
[src]
impl<'a, S> From<&'a [S; 16]> for &'a Matrix4<S>
[src]
impl<'a, S> From<&'a mut [S; 16]> for &'a mut Matrix4<S>
[src]
impl<S: BaseFloat> From<Matrix2<S>> for Matrix4<S>
[src]
fn from(m: Matrix2<S>) -> Matrix4<S>
[src]
Clone the elements of a 2-dimensional matrix into the top-left corner of a 4-dimensional identity matrix.
impl<S: BaseFloat> From<Matrix3<S>> for Matrix4<S>
[src]
fn from(m: Matrix3<S>) -> Matrix4<S>
[src]
Clone the elements of a 3-dimensional matrix into the top-left corner of a 4-dimensional identity matrix.
impl<S: BaseFloat> From<Quaternion<S>> for Matrix4<S>
[src]
fn from(quat: Quaternion<S>) -> Matrix4<S>
[src]
Convert the quaternion to a 4 x 4 rotation matrix.
impl<S: BaseFloat, R: Rotation3<S>> From<Decomposed<Vector3<S>, R>> for Matrix4<S>
[src]
fn from(dec: Decomposed<Vector3<S>, R>) -> Matrix4<S>
[src]
impl<S: BaseFloat> From<PerspectiveFov<S>> for Matrix4<S>
[src]
fn from(persp: PerspectiveFov<S>) -> Matrix4<S>
[src]
impl<S: BaseFloat> From<Perspective<S>> for Matrix4<S>
[src]
fn from(persp: Perspective<S>) -> Matrix4<S>
[src]
impl<S: BaseFloat> From<Ortho<S>> for Matrix4<S>
[src]
impl<S: Copy> Copy for Matrix4<S>
[src]
impl<S: BaseFloat> Add<Matrix4<S>> for Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the +
operator.
fn add(self, other: Matrix4<S>) -> Matrix4<S>
[src]
impl<'a, S: BaseFloat> Add<&'a Matrix4<S>> for Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the +
operator.
fn add(self, other: &'a Matrix4<S>) -> Matrix4<S>
[src]
impl<'a, S: BaseFloat> Add<Matrix4<S>> for &'a Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the +
operator.
fn add(self, other: Matrix4<S>) -> Matrix4<S>
[src]
impl<'a, 'b, S: BaseFloat> Add<&'a Matrix4<S>> for &'b Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the +
operator.
fn add(self, other: &'a Matrix4<S>) -> Matrix4<S>
[src]
impl<S: BaseFloat> Sub<Matrix4<S>> for Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the -
operator.
fn sub(self, other: Matrix4<S>) -> Matrix4<S>
[src]
impl<'a, S: BaseFloat> Sub<&'a Matrix4<S>> for Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the -
operator.
fn sub(self, other: &'a Matrix4<S>) -> Matrix4<S>
[src]
impl<'a, S: BaseFloat> Sub<Matrix4<S>> for &'a Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the -
operator.
fn sub(self, other: Matrix4<S>) -> Matrix4<S>
[src]
impl<'a, 'b, S: BaseFloat> Sub<&'a Matrix4<S>> for &'b Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the -
operator.
fn sub(self, other: &'a Matrix4<S>) -> Matrix4<S>
[src]
impl<S: BaseFloat> Mul<S> for Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the *
operator.
fn mul(self, other: S) -> Matrix4<S>
[src]
impl<'a, S: BaseFloat> Mul<S> for &'a Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the *
operator.
fn mul(self, other: S) -> Matrix4<S>
[src]
impl Mul<Matrix4<usize>> for usize
[src]
type Output = Matrix4<usize>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<usize>) -> Matrix4<usize>
[src]
impl<'a> Mul<&'a Matrix4<usize>> for usize
[src]
type Output = Matrix4<usize>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<usize>) -> Matrix4<usize>
[src]
impl Mul<Matrix4<u8>> for u8
[src]
type Output = Matrix4<u8>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<u8>) -> Matrix4<u8>
[src]
impl<'a> Mul<&'a Matrix4<u8>> for u8
[src]
type Output = Matrix4<u8>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<u8>) -> Matrix4<u8>
[src]
impl Mul<Matrix4<u16>> for u16
[src]
type Output = Matrix4<u16>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<u16>) -> Matrix4<u16>
[src]
impl<'a> Mul<&'a Matrix4<u16>> for u16
[src]
type Output = Matrix4<u16>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<u16>) -> Matrix4<u16>
[src]
impl Mul<Matrix4<u32>> for u32
[src]
type Output = Matrix4<u32>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<u32>) -> Matrix4<u32>
[src]
impl<'a> Mul<&'a Matrix4<u32>> for u32
[src]
type Output = Matrix4<u32>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<u32>) -> Matrix4<u32>
[src]
impl Mul<Matrix4<u64>> for u64
[src]
type Output = Matrix4<u64>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<u64>) -> Matrix4<u64>
[src]
impl<'a> Mul<&'a Matrix4<u64>> for u64
[src]
type Output = Matrix4<u64>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<u64>) -> Matrix4<u64>
[src]
impl Mul<Matrix4<isize>> for isize
[src]
type Output = Matrix4<isize>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<isize>) -> Matrix4<isize>
[src]
impl<'a> Mul<&'a Matrix4<isize>> for isize
[src]
type Output = Matrix4<isize>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<isize>) -> Matrix4<isize>
[src]
impl Mul<Matrix4<i8>> for i8
[src]
type Output = Matrix4<i8>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<i8>) -> Matrix4<i8>
[src]
impl<'a> Mul<&'a Matrix4<i8>> for i8
[src]
type Output = Matrix4<i8>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<i8>) -> Matrix4<i8>
[src]
impl Mul<Matrix4<i16>> for i16
[src]
type Output = Matrix4<i16>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<i16>) -> Matrix4<i16>
[src]
impl<'a> Mul<&'a Matrix4<i16>> for i16
[src]
type Output = Matrix4<i16>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<i16>) -> Matrix4<i16>
[src]
impl Mul<Matrix4<i32>> for i32
[src]
type Output = Matrix4<i32>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<i32>) -> Matrix4<i32>
[src]
impl<'a> Mul<&'a Matrix4<i32>> for i32
[src]
type Output = Matrix4<i32>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<i32>) -> Matrix4<i32>
[src]
impl Mul<Matrix4<i64>> for i64
[src]
type Output = Matrix4<i64>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<i64>) -> Matrix4<i64>
[src]
impl<'a> Mul<&'a Matrix4<i64>> for i64
[src]
type Output = Matrix4<i64>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<i64>) -> Matrix4<i64>
[src]
impl Mul<Matrix4<f32>> for f32
[src]
type Output = Matrix4<f32>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<f32>) -> Matrix4<f32>
[src]
impl<'a> Mul<&'a Matrix4<f32>> for f32
[src]
type Output = Matrix4<f32>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<f32>) -> Matrix4<f32>
[src]
impl Mul<Matrix4<f64>> for f64
[src]
type Output = Matrix4<f64>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<f64>) -> Matrix4<f64>
[src]
impl<'a> Mul<&'a Matrix4<f64>> for f64
[src]
type Output = Matrix4<f64>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<f64>) -> Matrix4<f64>
[src]
impl<S: BaseFloat> Mul<Vector4<S>> for Matrix4<S>
[src]
type Output = Vector4<S>
The resulting type after applying the *
operator.
fn mul(self, other: Vector4<S>) -> Vector4<S>
[src]
impl<'a, S: BaseFloat> Mul<&'a Vector4<S>> for Matrix4<S>
[src]
type Output = Vector4<S>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Vector4<S>) -> Vector4<S>
[src]
impl<'a, S: BaseFloat> Mul<Vector4<S>> for &'a Matrix4<S>
[src]
type Output = Vector4<S>
The resulting type after applying the *
operator.
fn mul(self, other: Vector4<S>) -> Vector4<S>
[src]
impl<'a, 'b, S: BaseFloat> Mul<&'a Vector4<S>> for &'b Matrix4<S>
[src]
type Output = Vector4<S>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Vector4<S>) -> Vector4<S>
[src]
impl<S: BaseFloat> Mul<Matrix4<S>> for Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<S>) -> Matrix4<S>
[src]
impl<'a, S: BaseFloat> Mul<&'a Matrix4<S>> for Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<S>) -> Matrix4<S>
[src]
impl<'a, S: BaseFloat> Mul<Matrix4<S>> for &'a Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix4<S>) -> Matrix4<S>
[src]
impl<'a, 'b, S: BaseFloat> Mul<&'a Matrix4<S>> for &'b Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix4<S>) -> Matrix4<S>
[src]
impl<S: BaseFloat> Div<S> for Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the /
operator.
fn div(self, other: S) -> Matrix4<S>
[src]
impl<'a, S: BaseFloat> Div<S> for &'a Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the /
operator.
fn div(self, other: S) -> Matrix4<S>
[src]
impl Div<Matrix4<usize>> for usize
[src]
type Output = Matrix4<usize>
The resulting type after applying the /
operator.
fn div(self, other: Matrix4<usize>) -> Matrix4<usize>
[src]
impl<'a> Div<&'a Matrix4<usize>> for usize
[src]
type Output = Matrix4<usize>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix4<usize>) -> Matrix4<usize>
[src]
impl Div<Matrix4<u8>> for u8
[src]
type Output = Matrix4<u8>
The resulting type after applying the /
operator.
fn div(self, other: Matrix4<u8>) -> Matrix4<u8>
[src]
impl<'a> Div<&'a Matrix4<u8>> for u8
[src]
type Output = Matrix4<u8>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix4<u8>) -> Matrix4<u8>
[src]
impl Div<Matrix4<u16>> for u16
[src]
type Output = Matrix4<u16>
The resulting type after applying the /
operator.
fn div(self, other: Matrix4<u16>) -> Matrix4<u16>
[src]
impl<'a> Div<&'a Matrix4<u16>> for u16
[src]
type Output = Matrix4<u16>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix4<u16>) -> Matrix4<u16>
[src]
impl Div<Matrix4<u32>> for u32
[src]
type Output = Matrix4<u32>
The resulting type after applying the /
operator.
fn div(self, other: Matrix4<u32>) -> Matrix4<u32>
[src]
impl<'a> Div<&'a Matrix4<u32>> for u32
[src]
type Output = Matrix4<u32>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix4<u32>) -> Matrix4<u32>
[src]
impl Div<Matrix4<u64>> for u64
[src]
type Output = Matrix4<u64>
The resulting type after applying the /
operator.
fn div(self, other: Matrix4<u64>) -> Matrix4<u64>
[src]
impl<'a> Div<&'a Matrix4<u64>> for u64
[src]
type Output = Matrix4<u64>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix4<u64>) -> Matrix4<u64>
[src]
impl Div<Matrix4<isize>> for isize
[src]
type Output = Matrix4<isize>
The resulting type after applying the /
operator.
fn div(self, other: Matrix4<isize>) -> Matrix4<isize>
[src]
impl<'a> Div<&'a Matrix4<isize>> for isize
[src]
type Output = Matrix4<isize>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix4<isize>) -> Matrix4<isize>
[src]
impl Div<Matrix4<i8>> for i8
[src]
type Output = Matrix4<i8>
The resulting type after applying the /
operator.
fn div(self, other: Matrix4<i8>) -> Matrix4<i8>
[src]
impl<'a> Div<&'a Matrix4<i8>> for i8
[src]
type Output = Matrix4<i8>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix4<i8>) -> Matrix4<i8>
[src]
impl Div<Matrix4<i16>> for i16
[src]
type Output = Matrix4<i16>
The resulting type after applying the /
operator.
fn div(self, other: Matrix4<i16>) -> Matrix4<i16>
[src]
impl<'a> Div<&'a Matrix4<i16>> for i16
[src]
type Output = Matrix4<i16>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix4<i16>) -> Matrix4<i16>
[src]
impl Div<Matrix4<i32>> for i32
[src]
type Output = Matrix4<i32>
The resulting type after applying the /
operator.
fn div(self, other: Matrix4<i32>) -> Matrix4<i32>
[src]
impl<'a> Div<&'a Matrix4<i32>> for i32
[src]
type Output = Matrix4<i32>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix4<i32>) -> Matrix4<i32>
[src]
impl Div<Matrix4<i64>> for i64
[src]
type Output = Matrix4<i64>
The resulting type after applying the /
operator.
fn div(self, other: Matrix4<i64>) -> Matrix4<i64>
[src]
impl<'a> Div<&'a Matrix4<i64>> for i64
[src]
type Output = Matrix4<i64>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix4<i64>) -> Matrix4<i64>
[src]
impl Div<Matrix4<f32>> for f32
[src]
type Output = Matrix4<f32>
The resulting type after applying the /
operator.
fn div(self, other: Matrix4<f32>) -> Matrix4<f32>
[src]
impl<'a> Div<&'a Matrix4<f32>> for f32
[src]
type Output = Matrix4<f32>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix4<f32>) -> Matrix4<f32>
[src]
impl Div<Matrix4<f64>> for f64
[src]
type Output = Matrix4<f64>
The resulting type after applying the /
operator.
fn div(self, other: Matrix4<f64>) -> Matrix4<f64>
[src]
impl<'a> Div<&'a Matrix4<f64>> for f64
[src]
type Output = Matrix4<f64>
The resulting type after applying the /
operator.
fn div(self, other: &'a Matrix4<f64>) -> Matrix4<f64>
[src]
impl<S: BaseFloat> Rem<S> for Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the %
operator.
fn rem(self, other: S) -> Matrix4<S>
[src]
impl<'a, S: BaseFloat> Rem<S> for &'a Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the %
operator.
fn rem(self, other: S) -> Matrix4<S>
[src]
impl Rem<Matrix4<usize>> for usize
[src]
type Output = Matrix4<usize>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix4<usize>) -> Matrix4<usize>
[src]
impl<'a> Rem<&'a Matrix4<usize>> for usize
[src]
type Output = Matrix4<usize>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix4<usize>) -> Matrix4<usize>
[src]
impl Rem<Matrix4<u8>> for u8
[src]
type Output = Matrix4<u8>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix4<u8>) -> Matrix4<u8>
[src]
impl<'a> Rem<&'a Matrix4<u8>> for u8
[src]
type Output = Matrix4<u8>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix4<u8>) -> Matrix4<u8>
[src]
impl Rem<Matrix4<u16>> for u16
[src]
type Output = Matrix4<u16>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix4<u16>) -> Matrix4<u16>
[src]
impl<'a> Rem<&'a Matrix4<u16>> for u16
[src]
type Output = Matrix4<u16>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix4<u16>) -> Matrix4<u16>
[src]
impl Rem<Matrix4<u32>> for u32
[src]
type Output = Matrix4<u32>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix4<u32>) -> Matrix4<u32>
[src]
impl<'a> Rem<&'a Matrix4<u32>> for u32
[src]
type Output = Matrix4<u32>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix4<u32>) -> Matrix4<u32>
[src]
impl Rem<Matrix4<u64>> for u64
[src]
type Output = Matrix4<u64>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix4<u64>) -> Matrix4<u64>
[src]
impl<'a> Rem<&'a Matrix4<u64>> for u64
[src]
type Output = Matrix4<u64>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix4<u64>) -> Matrix4<u64>
[src]
impl Rem<Matrix4<isize>> for isize
[src]
type Output = Matrix4<isize>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix4<isize>) -> Matrix4<isize>
[src]
impl<'a> Rem<&'a Matrix4<isize>> for isize
[src]
type Output = Matrix4<isize>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix4<isize>) -> Matrix4<isize>
[src]
impl Rem<Matrix4<i8>> for i8
[src]
type Output = Matrix4<i8>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix4<i8>) -> Matrix4<i8>
[src]
impl<'a> Rem<&'a Matrix4<i8>> for i8
[src]
type Output = Matrix4<i8>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix4<i8>) -> Matrix4<i8>
[src]
impl Rem<Matrix4<i16>> for i16
[src]
type Output = Matrix4<i16>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix4<i16>) -> Matrix4<i16>
[src]
impl<'a> Rem<&'a Matrix4<i16>> for i16
[src]
type Output = Matrix4<i16>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix4<i16>) -> Matrix4<i16>
[src]
impl Rem<Matrix4<i32>> for i32
[src]
type Output = Matrix4<i32>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix4<i32>) -> Matrix4<i32>
[src]
impl<'a> Rem<&'a Matrix4<i32>> for i32
[src]
type Output = Matrix4<i32>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix4<i32>) -> Matrix4<i32>
[src]
impl Rem<Matrix4<i64>> for i64
[src]
type Output = Matrix4<i64>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix4<i64>) -> Matrix4<i64>
[src]
impl<'a> Rem<&'a Matrix4<i64>> for i64
[src]
type Output = Matrix4<i64>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix4<i64>) -> Matrix4<i64>
[src]
impl Rem<Matrix4<f32>> for f32
[src]
type Output = Matrix4<f32>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix4<f32>) -> Matrix4<f32>
[src]
impl<'a> Rem<&'a Matrix4<f32>> for f32
[src]
type Output = Matrix4<f32>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix4<f32>) -> Matrix4<f32>
[src]
impl Rem<Matrix4<f64>> for f64
[src]
type Output = Matrix4<f64>
The resulting type after applying the %
operator.
fn rem(self, other: Matrix4<f64>) -> Matrix4<f64>
[src]
impl<'a> Rem<&'a Matrix4<f64>> for f64
[src]
type Output = Matrix4<f64>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Matrix4<f64>) -> Matrix4<f64>
[src]
impl<S: BaseFloat> Neg for Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the -
operator.
fn neg(self) -> Matrix4<S>
[src]
impl<'a, S: BaseFloat> Neg for &'a Matrix4<S>
[src]
type Output = Matrix4<S>
The resulting type after applying the -
operator.
fn neg(self) -> Matrix4<S>
[src]
impl<S: BaseFloat + AddAssign<S>> AddAssign<Matrix4<S>> for Matrix4<S>
[src]
fn add_assign(&mut self, other: Matrix4<S>)
[src]
impl<S: BaseFloat + SubAssign<S>> SubAssign<Matrix4<S>> for Matrix4<S>
[src]
fn sub_assign(&mut self, other: Matrix4<S>)
[src]
impl<S: BaseFloat + MulAssign<S>> MulAssign<S> for Matrix4<S>
[src]
fn mul_assign(&mut self, scalar: S)
[src]
impl<S: BaseFloat + DivAssign<S>> DivAssign<S> for Matrix4<S>
[src]
fn div_assign(&mut self, scalar: S)
[src]
impl<S: BaseFloat + RemAssign<S>> RemAssign<S> for Matrix4<S>
[src]
fn rem_assign(&mut self, scalar: S)
[src]
impl<S> Index<usize> for Matrix4<S>
[src]
type Output = Vector4<S>
The returned type after indexing.
fn index<'a>(&'a self, i: usize) -> &'a Vector4<S>
[src]
impl<S> IndexMut<usize> for Matrix4<S>
[src]
impl<S: Debug> Debug for Matrix4<S>
[src]
impl<S: BaseFloat> Product<Matrix4<S>> for Matrix4<S>
[src]
impl<'a, S: 'a + BaseFloat> Product<&'a Matrix4<S>> for Matrix4<S>
[src]
impl<S: BaseFloat> Sum<Matrix4<S>> for Matrix4<S>
[src]
impl<'a, S: 'a + BaseFloat> Sum<&'a Matrix4<S>> for Matrix4<S>
[src]
impl<S: BaseFloat> AbsDiffEq<Matrix4<S>> for Matrix4<S>
[src]
type Epsilon = S::Epsilon
Used for specifying relative comparisons.
fn default_epsilon() -> S::Epsilon
[src]
fn abs_diff_eq(&self, other: &Self, epsilon: S::Epsilon) -> bool
[src]
fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
[src]
impl<S: BaseFloat> RelativeEq<Matrix4<S>> for Matrix4<S>
[src]
fn default_max_relative() -> S::Epsilon
[src]
fn relative_eq(
&self,
other: &Self,
epsilon: S::Epsilon,
max_relative: S::Epsilon
) -> bool
[src]
&self,
other: &Self,
epsilon: S::Epsilon,
max_relative: S::Epsilon
) -> bool
fn relative_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
[src]
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
impl<S: BaseFloat> UlpsEq<Matrix4<S>> for Matrix4<S>
[src]
fn default_max_ulps() -> u32
[src]
fn ulps_eq(&self, other: &Self, epsilon: S::Epsilon, max_ulps: u32) -> bool
[src]
fn ulps_ne(&self, other: &Rhs, epsilon: Self::Epsilon, max_ulps: u32) -> bool
[src]
impl<S: BaseFloat> Zero for Matrix4<S>
[src]
impl<S: BaseFloat> One for Matrix4<S>
[src]
fn one() -> Matrix4<S>
[src]
fn set_one(&mut self)
[src]
fn is_one(&self) -> bool where
Self: PartialEq<Self>,
[src]
Self: PartialEq<Self>,
impl<S> Distribution<Matrix4<S>> for Standard where
Standard: Distribution<Vector4<S>>,
S: BaseFloat,
[src]
Standard: Distribution<Vector4<S>>,
S: BaseFloat,
Auto Trait Implementations
impl<S> Send for Matrix4<S> where
S: Send,
S: Send,
impl<S> Unpin for Matrix4<S> where
S: Unpin,
S: Unpin,
impl<S> Sync for Matrix4<S> where
S: Sync,
S: Sync,
impl<S> UnwindSafe for Matrix4<S> where
S: UnwindSafe,
S: UnwindSafe,
impl<S> RefUnwindSafe for Matrix4<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T, Rhs> NumAssignOps<Rhs> for T where
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
[src]
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,