pub trait AsMatRef {
type T;
type Rows: Shape;
type Cols: Shape;
type Owned: AsMat<Self::T, T = Self::T, Rows = Self::Rows, Cols = Self::Cols, Owned = Self::Owned>;
// Required method
fn as_mat_ref(&self) -> MatRef<'_, Self::T, Self::Rows, Self::Cols>;
}Expand description
trait for types that can be converted to a matrix view