Module shortcut::idx[][src]

The idx module described the traits indexers must adhere to, and implements sensible default indexers.

Structs

BTreeIndex

An implementation of RangeIndex using a BTreeMap.

HashIndex

An implementation of EqualityIndex that uses a HashMap.

Enums

Index

A sum type expressing all different types of indices so they can easily be stored. Since all indices must at least implement EqualityIndex, this enum also forwards all calls of that trait to the underlying index for convenience.

Traits

EqualityIndex

An EqualityIndex is an index that can perform efficient equality lookups.

RangeIndex

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