pub trait AsColRef: AsMatRef<Cols = One> {
// Required method
fn as_col_ref(&self) -> ColRef<'_, Self::T, Self::Rows>;
}Expand description
trait for types that can be converted to a column view
Required Methods§
Sourcefn as_col_ref(&self) -> ColRef<'_, Self::T, Self::Rows>
fn as_col_ref(&self) -> ColRef<'_, Self::T, Self::Rows>
returns a view over self
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".