Trait AsMatMut

Source
pub trait AsMatMut<E: Entity> {
    // Required method
    fn as_mat_mut(&mut self) -> MatMut<'_, E>;
}
Expand description

Trait for types that can be converted to a mutable matrix view.

This trait is implemented for types of the matrix family, like Mat, MatRef, and MatMut, but not for types like Col, Row, or their families. For a more general trait, see As2D.

Required Methods§

Source

fn as_mat_mut(&mut self) -> MatMut<'_, E>

Convert to a mutable matrix view.

Implementors§

Source§

impl<E: Entity> AsMatMut<E> for &mut Mat<E>

Source§

impl<E: Entity> AsMatMut<E> for &mut MatMut<'_, E>

Source§

impl<E: Entity> AsMatMut<E> for Mat<E>

Source§

impl<E: Entity> AsMatMut<E> for MatMut<'_, E>