pub trait MatWithShapeMut<const ROWS: usize, const COLS: usize>where
Self: MatWithShape<ROWS, COLS>,{ }Expand description
A trait indicate that matrix in case of mutable referencing it can be interpreted as such having specified shape ROWS x COLS.
This trait defines a constant ROWS, COLS, representing the length of the entity.
Implementations on Foreign Types§
impl<T, const ROWS: usize, const COLS: usize> MatWithShapeMut<ROWS, COLS> for &Twhere
Self: MatWithShape<ROWS, COLS> + MatWithShapeMut<ROWS, COLS>,
Implementation of MatWithShapeMut for references to entities.
impl<T, const ROWS: usize, const COLS: usize> MatWithShapeMut<ROWS, COLS> for &mut Twhere
Self: MatWithShape<ROWS, COLS> + MatWithShapeMut<ROWS, COLS>,
Implementation of MatWithShapeMut for mutable references to entities.