Trait encase::matrix::AsMutMatrixParts

source ·
pub trait AsMutMatrixParts<T: MatrixScalar, const C: usize, const R: usize> {
    // Required method
    fn as_mut_parts(&mut self) -> &mut [[T; R]; C];
}
Expand description

Enables writing to the matrix (via &mut [[T; R]; C])

Required Methods§

source

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

Implementations on Foreign Types§

source§

impl AsMutMatrixParts<f32, 2, 2> for Mat2
where Self: AsMut<[f32; 4]>, f32: MatrixScalar,

source§

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

source§

impl AsMutMatrixParts<f32, 3, 3> for Mat3
where Self: AsMut<[f32; 9]>, f32: MatrixScalar,

source§

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

source§

impl AsMutMatrixParts<f32, 4, 4> for Mat4
where Self: AsMut<[f32; 16]>, f32: MatrixScalar,

source§

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

Implementors§