Trait faer::col::AsColRef

source ·
pub trait AsColRef<E: Entity> {
    // Required method
    fn as_col_ref(&self) -> ColRef<'_, E>;
}
Expand description

Trait for types that can be converted to a column view.

Required Methods§

source

fn as_col_ref(&self) -> ColRef<'_, E>

Convert to a column view.

Implementations on Foreign Types§

source§

impl<E: Entity, T: AsColRef<E>> AsColRef<E> for &T

source§

fn as_col_ref(&self) -> ColRef<'_, E>

source§

impl<E: Entity, T: AsColRef<E>> AsColRef<E> for &mut T

source§

fn as_col_ref(&self) -> ColRef<'_, E>

Implementors§

source§

impl<E: Entity> AsColRef<E> for Col<E>

source§

impl<E: Entity> AsColRef<E> for ColMut<'_, E>

source§

impl<E: Entity> AsColRef<E> for ColRef<'_, E>