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

pub trait RangeIndex<T>: EqualityIndex<T> {
    fn between<'a>(
        &'a self,
        _: Bound<&T>,
        _: Bound<&T>
    ) -> Box<dyn 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

fn between<'a>(
    &'a self,
    _: Bound<&T>,
    _: Bound<&T>
) -> Box<dyn Iterator<Item = usize> + 'a>
[src]

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.

Loading content...

Implementors

impl<T: Ord + Eq> RangeIndex<T> for BTreeIndex<T>[src]

Loading content...