AsRowRef

Trait AsRowRef 

Source
pub trait AsRowRef: AsMatRef<Rows = One> {
    // Required method
    fn as_row_ref(&self) -> RowRef<'_, Self::T, Self::Cols>;
}
Expand description

trait for types that can be converted to a row view

Required Methods§

Source

fn as_row_ref(&self) -> RowRef<'_, Self::T, Self::Cols>

returns a view over self

Implementors§

Source§

impl<M: AsMatRef<Rows = One>> AsRowRef for M