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
fn between<'a>(&'a self, Bound<&T>, Bound<&T>) -> Box<Iterator<Item=usize> + 'a>
Return an iterator that yields the indices of all rows whose value (in the column this
index is assigned to) lies within the given Bound
s.
Implementors
impl<T: Ord + Eq> RangeIndex<T> for BTreeIndex<T>