Trait extendr_api::prelude::row::AsRowRef

pub trait AsRowRef<E>
where E: Entity,
{ // Required method fn as_row_ref(&self) -> RowRef<'_, E>; }
Expand description

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

Required Methods§

fn as_row_ref(&self) -> RowRef<'_, E>

Convert to a row view.

Implementations on Foreign Types§

§

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

§

fn as_row_ref(&self) -> RowRef<'_, E>

§

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

§

fn as_row_ref(&self) -> RowRef<'_, E>

Implementors§

§

impl<E> AsRowRef<E> for Row<E>
where E: Entity,

§

impl<E> AsRowRef<E> for RowMut<'_, E>
where E: Entity,

§

impl<E> AsRowRef<E> for RowRef<'_, E>
where E: Entity,