Trait shortcut::idx::RangeIndex [] [src]

pub trait RangeIndex<T>: EqualityIndex<T> {
    fn between<'a>(
        &'a self,
        _: Bound<&T>,
        _: Bound<&T>
    ) -> Box<Iterator<Item = usize> + 'a>; }

A RangeIndex is an index that, in addition to performing efficient equality lookups, can also perform efficient range queries.

Required Methods

Return an iterator that yields the indices of all rows whose value (in the column this index is assigned to) lies within the given Bounds.

Implementors