Trait encase::matrix::FromMatrixParts
source · [−]pub trait FromMatrixParts<T: MatrixScalar, const C: usize, const R: usize> {
fn from_parts(parts: [[T; R]; C]) -> Self;
}Expand description
Enables the cration of a matrix (via [[T; R]; C])
Required Methods
Implementations on Foreign Types
sourceimpl<T> FromMatrixParts<T, 2_usize, 2_usize> for Matrix2<T> where
Self: From<[[T; 2]; 2]>,
T: MatrixScalar,
Available on crate feature cgmath only.
impl<T> FromMatrixParts<T, 2_usize, 2_usize> for Matrix2<T> where
Self: From<[[T; 2]; 2]>,
T: MatrixScalar,
Available on crate feature
cgmath only.sourceimpl<T> FromMatrixParts<T, 3_usize, 3_usize> for Matrix3<T> where
Self: From<[[T; 3]; 3]>,
T: MatrixScalar,
Available on crate feature cgmath only.
impl<T> FromMatrixParts<T, 3_usize, 3_usize> for Matrix3<T> where
Self: From<[[T; 3]; 3]>,
T: MatrixScalar,
Available on crate feature
cgmath only.sourceimpl<T> FromMatrixParts<T, 4_usize, 4_usize> for Matrix4<T> where
Self: From<[[T; 4]; 4]>,
T: MatrixScalar,
Available on crate feature cgmath only.
impl<T> FromMatrixParts<T, 4_usize, 4_usize> for Matrix4<T> where
Self: From<[[T; 4]; 4]>,
T: MatrixScalar,
Available on crate feature
cgmath only.sourceimpl FromMatrixParts<f32, 2_usize, 2_usize> for Mat2
Available on crate feature glam only.
impl FromMatrixParts<f32, 2_usize, 2_usize> for Mat2
Available on crate feature
glam only.sourceimpl FromMatrixParts<f32, 3_usize, 3_usize> for Mat3
Available on crate feature glam only.
impl FromMatrixParts<f32, 3_usize, 3_usize> for Mat3
Available on crate feature
glam only.sourceimpl FromMatrixParts<f32, 4_usize, 4_usize> for Mat4
Available on crate feature glam only.
impl FromMatrixParts<f32, 4_usize, 4_usize> for Mat4
Available on crate feature
glam only.sourceimpl<T> FromMatrixParts<T, 2_usize, 2_usize> for ColumnMatrix2<T> where
Self: From<[[T; 2]; 2]>,
T: MatrixScalar,
Available on crate feature mint only.
impl<T> FromMatrixParts<T, 2_usize, 2_usize> for ColumnMatrix2<T> where
Self: From<[[T; 2]; 2]>,
T: MatrixScalar,
Available on crate feature
mint only.sourceimpl<T> FromMatrixParts<T, 3_usize, 2_usize> for ColumnMatrix2x3<T> where
Self: From<[[T; 2]; 3]>,
T: MatrixScalar,
Available on crate feature mint only.
impl<T> FromMatrixParts<T, 3_usize, 2_usize> for ColumnMatrix2x3<T> where
Self: From<[[T; 2]; 3]>,
T: MatrixScalar,
Available on crate feature
mint only.sourceimpl<T> FromMatrixParts<T, 4_usize, 2_usize> for ColumnMatrix2x4<T> where
Self: From<[[T; 2]; 4]>,
T: MatrixScalar,
Available on crate feature mint only.
impl<T> FromMatrixParts<T, 4_usize, 2_usize> for ColumnMatrix2x4<T> where
Self: From<[[T; 2]; 4]>,
T: MatrixScalar,
Available on crate feature
mint only.sourceimpl<T> FromMatrixParts<T, 2_usize, 3_usize> for ColumnMatrix3x2<T> where
Self: From<[[T; 3]; 2]>,
T: MatrixScalar,
Available on crate feature mint only.
impl<T> FromMatrixParts<T, 2_usize, 3_usize> for ColumnMatrix3x2<T> where
Self: From<[[T; 3]; 2]>,
T: MatrixScalar,
Available on crate feature
mint only.sourceimpl<T> FromMatrixParts<T, 3_usize, 3_usize> for ColumnMatrix3<T> where
Self: From<[[T; 3]; 3]>,
T: MatrixScalar,
Available on crate feature mint only.
impl<T> FromMatrixParts<T, 3_usize, 3_usize> for ColumnMatrix3<T> where
Self: From<[[T; 3]; 3]>,
T: MatrixScalar,
Available on crate feature
mint only.sourceimpl<T> FromMatrixParts<T, 4_usize, 3_usize> for ColumnMatrix3x4<T> where
Self: From<[[T; 3]; 4]>,
T: MatrixScalar,
Available on crate feature mint only.
impl<T> FromMatrixParts<T, 4_usize, 3_usize> for ColumnMatrix3x4<T> where
Self: From<[[T; 3]; 4]>,
T: MatrixScalar,
Available on crate feature
mint only.sourceimpl<T> FromMatrixParts<T, 2_usize, 4_usize> for ColumnMatrix4x2<T> where
Self: From<[[T; 4]; 2]>,
T: MatrixScalar,
Available on crate feature mint only.
impl<T> FromMatrixParts<T, 2_usize, 4_usize> for ColumnMatrix4x2<T> where
Self: From<[[T; 4]; 2]>,
T: MatrixScalar,
Available on crate feature
mint only.sourceimpl<T> FromMatrixParts<T, 3_usize, 4_usize> for ColumnMatrix4x3<T> where
Self: From<[[T; 4]; 3]>,
T: MatrixScalar,
Available on crate feature mint only.
impl<T> FromMatrixParts<T, 3_usize, 4_usize> for ColumnMatrix4x3<T> where
Self: From<[[T; 4]; 3]>,
T: MatrixScalar,
Available on crate feature
mint only.sourceimpl<T> FromMatrixParts<T, 4_usize, 4_usize> for ColumnMatrix4<T> where
Self: From<[[T; 4]; 4]>,
T: MatrixScalar,
Available on crate feature mint only.
impl<T> FromMatrixParts<T, 4_usize, 4_usize> for ColumnMatrix4<T> where
Self: From<[[T; 4]; 4]>,
T: MatrixScalar,
Available on crate feature
mint only.sourceimpl<T: MatrixScalar, const C: usize, const R: usize> FromMatrixParts<T, C, R> for SMatrix<T, R, C>
Available on crate feature nalgebra only.
impl<T: MatrixScalar, const C: usize, const R: usize> FromMatrixParts<T, C, R> for SMatrix<T, R, C>
Available on crate feature
nalgebra only.sourceimpl FromMatrixParts<f32, 2_usize, 2_usize> for Mat2 where
Self: From<[[f32; 2]; 2]>,
f32: MatrixScalar,
Available on crate feature ultraviolet only.
impl FromMatrixParts<f32, 2_usize, 2_usize> for Mat2 where
Self: From<[[f32; 2]; 2]>,
f32: MatrixScalar,
Available on crate feature
ultraviolet only.sourceimpl FromMatrixParts<f32, 3_usize, 3_usize> for Mat3 where
Self: From<[[f32; 3]; 3]>,
f32: MatrixScalar,
Available on crate feature ultraviolet only.
impl FromMatrixParts<f32, 3_usize, 3_usize> for Mat3 where
Self: From<[[f32; 3]; 3]>,
f32: MatrixScalar,
Available on crate feature
ultraviolet only.sourceimpl FromMatrixParts<f32, 4_usize, 4_usize> for Mat4 where
Self: From<[[f32; 4]; 4]>,
f32: MatrixScalar,
Available on crate feature ultraviolet only.
impl FromMatrixParts<f32, 4_usize, 4_usize> for Mat4 where
Self: From<[[f32; 4]; 4]>,
f32: MatrixScalar,
Available on crate feature
ultraviolet only.sourceimpl<T: MatrixScalar> FromMatrixParts<T, 2_usize, 2_usize> for Mat2<T>
Available on crate feature vek only.
impl<T: MatrixScalar> FromMatrixParts<T, 2_usize, 2_usize> for Mat2<T>
Available on crate feature
vek only.sourceimpl<T: MatrixScalar> FromMatrixParts<T, 3_usize, 3_usize> for Mat3<T>
Available on crate feature vek only.
impl<T: MatrixScalar> FromMatrixParts<T, 3_usize, 3_usize> for Mat3<T>
Available on crate feature
vek only.sourceimpl<T: MatrixScalar> FromMatrixParts<T, 4_usize, 4_usize> for Mat4<T>
Available on crate feature vek only.
impl<T: MatrixScalar> FromMatrixParts<T, 4_usize, 4_usize> for Mat4<T>
Available on crate feature
vek only.