pub trait AsRefMatrixParts<T, const C: usize, const R: usize>
where T: MatrixScalar,
{ // Required method fn as_ref_parts(&self) -> &[[T; R]; C]; }
Expand description

Enables reading from the matrix (via &[[T; R]; C])

Required Methods§

source

fn as_ref_parts(&self) -> &[[T; R]; C]

Implementations on Foreign Types§

source§

impl AsRefMatrixParts<f32, 2, 2> for Mat2
where Mat2: AsRef<[f32; 4]>, f32: MatrixScalar,

source§

fn as_ref_parts(&self) -> &[[f32; 2]; 2]

source§

impl AsRefMatrixParts<f32, 3, 3> for Mat3
where Mat3: AsRef<[f32; 9]>, f32: MatrixScalar,

source§

fn as_ref_parts(&self) -> &[[f32; 3]; 3]

source§

impl AsRefMatrixParts<f32, 4, 4> for Mat4

source§

fn as_ref_parts(&self) -> &[[f32; 4]; 4]

Implementors§