Trait AsRowRef

Source
pub trait AsRowRef<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§

Source

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

Convert to a row view.

Implementors§

Source§

impl<E: Entity> AsRowRef<E> for &Row<E>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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