Trait MatWithShapeMut

Source
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§

Source§

impl<T, const ROWS: usize, const COLS: usize> MatWithShapeMut<ROWS, COLS> for &T
where Self: MatWithShape<ROWS, COLS> + MatWithShapeMut<ROWS, COLS>,

Implementation of MatWithShapeMut for references to entities.

Source§

impl<T, const ROWS: usize, const COLS: usize> MatWithShapeMut<ROWS, COLS> for &mut T
where Self: MatWithShape<ROWS, COLS> + MatWithShapeMut<ROWS, COLS>,

Implementation of MatWithShapeMut for mutable references to entities.

Implementors§

Source§

impl<E, const ROWS: usize, const COLS: usize, Descriptor: Descriptor> MatWithShapeMut<ROWS, COLS> for Mat<ROWS, COLS, E, Descriptor>
where E: MatEl,