Trait rusqlite::RowIndex[][src]

pub trait RowIndex {
    fn idx(&self, stmt: &Statement) -> Result<usize>;
}

A trait implemented by types that can index into columns of a row.

Required Methods

Returns the index of the appropriate column, or None if no such column exists.

Implementations on Foreign Types

impl RowIndex for usize
[src]

impl<'a> RowIndex for &'a str
[src]

Implementors