pub trait AsRow: Copy {
    const TABLE: usize;
Show 13 methods // Required methods fn to_row(&self) -> Row; fn from_row(row: Row) -> Self; // Provided methods fn file(&self) -> &'static File { ... } fn reader(&self) -> &'static Reader { ... } fn index(&self) -> usize { ... } fn next(&self) -> Self { ... } fn usize(&self, column: usize) -> usize { ... } fn str(&self, column: usize) -> &'static str { ... } fn row(&self, column: usize) -> Row { ... } fn decode<T: Decode>(&self, column: usize) -> T { ... } fn blob(&self, column: usize) -> Blob { ... } fn list<R: AsRow>(&self, column: usize) -> RowIterator<R> { ... } fn equal_range<L: AsRow>( &self, column: usize, value: usize ) -> RowIterator<L> { ... }
}

Required Associated Constants§

Required Methods§

source

fn to_row(&self) -> Row

source

fn from_row(row: Row) -> Self

Provided Methods§

source

fn file(&self) -> &'static File

source

fn reader(&self) -> &'static Reader

source

fn index(&self) -> usize

source

fn next(&self) -> Self

source

fn usize(&self, column: usize) -> usize

source

fn str(&self, column: usize) -> &'static str

source

fn row(&self, column: usize) -> Row

source

fn decode<T: Decode>(&self, column: usize) -> T

source

fn blob(&self, column: usize) -> Blob

source

fn list<R: AsRow>(&self, column: usize) -> RowIterator<R>

source

fn equal_range<L: AsRow>(&self, column: usize, value: usize) -> RowIterator<L>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl AsRow for AssemblyRef

source§

const TABLE: usize = 15usize

source§

impl AsRow for Attribute

source§

const TABLE: usize = 1usize

source§

impl AsRow for ClassLayout

source§

const TABLE: usize = 16usize

source§

impl AsRow for Constant

source§

const TABLE: usize = 0usize

source§

impl AsRow for Field

source§

const TABLE: usize = 2usize

source§

impl AsRow for GenericParam

source§

const TABLE: usize = 3usize

source§

impl AsRow for ImplMap

source§

const TABLE: usize = 11usize

source§

impl AsRow for InterfaceImpl

source§

const TABLE: usize = 4usize

source§

impl AsRow for MemberRef

source§

const TABLE: usize = 5usize

source§

impl AsRow for MethodDef

source§

const TABLE: usize = 6usize

source§

impl AsRow for Module

source§

const TABLE: usize = 14usize

source§

impl AsRow for ModuleRef

source§

const TABLE: usize = 12usize

source§

impl AsRow for NestedClass

source§

const TABLE: usize = 13usize

source§

impl AsRow for Param

source§

const TABLE: usize = 7usize

source§

impl AsRow for TypeDef

source§

const TABLE: usize = 8usize

source§

impl AsRow for TypeRef

source§

const TABLE: usize = 9usize

source§

impl AsRow for TypeSpec

source§

const TABLE: usize = 10usize