Crate indexmap [] [src]

IndexMap is a hash table where the iteration order of the key-value pairs is independent of the hash values of the keys.

IndexSet is a corresponding hash set using the same implementation and with similar properties.

Reexports

pub use map::IndexMap;
pub use set::IndexSet;
pub use map::OrderMap;
pub use set::OrderSet;

Modules

map

IndexMap is a hash table where the iteration order of the key-value pairs is independent of the hash values of the keys.

set

A hash set implemented using IndexMap

Macros

indexmap

Create an IndexMap from a list of key-value pairs

indexset

Create an IndexSet from a list of values

ordermap [
Deprecated
]

Old name; use indexmap!{} instead.

orderset [
Deprecated
]

Old name; use indexset!{} instead.

Traits

Equivalent

Key equivalence trait.