AsMatMut

Trait AsMatMut 

Source
pub trait AsMatMut: AsMatRef {
    // Required method
    fn as_mat_mut(&mut self) -> MatMut<'_, Self::T, Self::Rows, Self::Cols>;
}
Expand description

trait for types that can be converted to a matrix view

Required Methods§

Source

fn as_mat_mut(&mut self) -> MatMut<'_, Self::T, Self::Rows, Self::Cols>

returns a view over self

Implementations on Foreign Types§

Source§

impl<M: AsMatMut> AsMatMut for &mut M

Source§

fn as_mat_mut(&mut self) -> MatMut<'_, Self::T, Self::Rows, Self::Cols>

Implementors§

Source§

impl<T, Cols: Shape> AsMatMut for Row<T, Cols>

Source§

impl<T, Cols: Shape, Rs: Stride> AsMatMut for RowMut<'_, T, Cols, Rs>

Source§

impl<T, Rows: Shape> AsMatMut for Col<T, Rows>

Source§

impl<T, Rows: Shape, Cols: Shape> AsMatMut for Mat<T, Rows, Cols>

Source§

impl<T, Rows: Shape, Cols: Shape, RStride: Stride, CStride: Stride> AsMatMut for MatMut<'_, T, Rows, Cols, RStride, CStride>

Source§

impl<T, Rows: Shape, Rs: Stride> AsMatMut for ColMut<'_, T, Rows, Rs>