AsColRef

Trait AsColRef 

Source
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§

Source

fn as_col_ref(&self) -> ColRef<'_, Self::T, Self::Rows>

returns a view over self

Implementors§

Source§

impl<M: AsMatRef<Cols = One>> AsColRef for M