Trait sqlite::RowIndex

source ·
pub trait RowIndex: Debug {
    // Required method
    fn index(self, row: &Row) -> usize;
}
Expand description

A type suitable for indexing columns in a row.

Required Methods§

source

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

Identify the ordinal position.

The first column has index 0.

Implementations on Foreign Types§

source§

impl RowIndex for &str

source§

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

source§

impl RowIndex for usize

source§

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

Implementors§