[][src]Trait rusqlite::RowIndex

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

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

Required methods

pub fn idx(&self, stmt: &Statement<'_>) -> Result<usize>[src]

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

Loading content...

Implementations on Foreign Types

impl RowIndex for usize[src]

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

Loading content...

Implementors

Loading content...