Trait shortcut::idx::RangeIndex

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

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§