[−][src]Trait ironsea_index::Indexed
Methods provided by indices.
This kind of indices can work on references to the original vector or take ownership of the records, based on the type given for the records.
R
: Type of the recordsK
: Type of the keys
Required methods
fn find(&self, key: &K) -> Vec<&R>
Retrieve all records matching the key.
fn find_range(&self, start: &K, end: &K) -> Vec<&R>
Retrieve all records matching in the key range defined by
start
and end
.
start
is included