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.

Rust Version

This version of indexmap requires Rust 1.18 or later, or 1.30+ for development builds.

The indexmap 1.x release series will use a carefully considered version upgrade policy, where in a later 1.x version, we will raise the minimum required Rust version.

Re-exports

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

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

Traits

Equivalent

Key equivalence trait.