pub trait As2DMut<E>: As2D<E>{
// Required method
fn as_2d_mut(&mut self) -> MatMut<'_, E>;
}
Expand description
Trait for types that can be converted to a mutable 2D matrix view.
This trait is implemented for any type that can be represented as a
2D matrix view, like Mat
, Row
, Col
, and their respective
references and mutable references. For a trait specific to the matrix
family, see AsMatRef
or AsMatMut
.
Convert to a mutable 2D matrix view.