RowIndex

Trait 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§