extendr_api::prelude::col

Trait AsColRef

pub trait AsColRef<E>
where 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§

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

Convert to a column view.

Implementations on Foreign Types§

§

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

§

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

§

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

§

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

Implementors§

§

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

§

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

§

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