pub trait FromMatrixParts<T, const C: usize, const R: usize>
where T: MatrixScalar,
{ // Required method fn from_parts(parts: [[T; R]; C]) -> Self; }
Expand description

Enables the cration of a matrix (via [[T; R]; C])

Required Methods§

source

fn from_parts(parts: [[T; R]; C]) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromMatrixParts<f32, 2, 2> for Mat2

source§

fn from_parts(parts: [[f32; 2]; 2]) -> Mat2

source§

impl FromMatrixParts<f32, 3, 3> for Mat3

source§

fn from_parts(parts: [[f32; 3]; 3]) -> Mat3

source§

impl FromMatrixParts<f32, 4, 4> for Mat4

source§

fn from_parts(parts: [[f32; 4]; 4]) -> Mat4

Implementors§