Expand description
IndexMap is a hash table where the iteration order of the key-value
pairs is independent of the hash values of the keys.
Re-exports§
pub use self::entry::Entry;pub use self::entry::IndexedEntry;pub use self::iter::Drain;pub use self::iter::ExtractIf;pub use self::iter::IntoIter;pub use self::iter::IntoKeys;pub use self::iter::IntoValues;pub use self::iter::Iter;pub use self::iter::IterMut;pub use self::iter::IterMut2;pub use self::iter::Keys;pub use self::iter::Splice;pub use self::iter::Values;pub use self::iter::ValuesMut;pub use self::mutable::MutableEntryKey;pub use self::mutable::MutableKeys;pub use self::raw_entry_v1::RawEntryApiV1;pub use self::slice::Slice;
Modules§
- raw_
entry_ v1 - Opt-in access to the experimental raw entry API.
- serde_
seq serde - Functions to serialize and deserialize an
IndexMapas an ordered sequence.
Structs§
- Drain
- A draining iterator over the entries of an
IndexMap. - Extract
If - An extracting iterator for
IndexMap. - Index
Map std - A hash table where the iteration order of the key-value pairs is independent of the hash values of the keys.
- Indexed
Entry - A view into an occupied entry in an
IndexMapobtained by index. - Into
Iter - An owning iterator over the entries of an
IndexMap. - Into
Keys - An owning iterator over the keys of an
IndexMap. - Into
Values - An owning iterator over the values of an
IndexMap. - Iter
- An iterator over the entries of an
IndexMap. - IterMut
- A mutable iterator over the entries of an
IndexMap. - Iter
Mut2 - A mutable iterator over the entries of an
IndexMap. - Keys
- An iterator over the keys of an
IndexMap. - Occupied
Entry - A view into an occupied entry in an
IndexMap. It is part of theEntryenum. - Slice
- A dynamically-sized slice of key-value pairs in an
IndexMap. - Splice
- A splicing iterator for
IndexMap. - Vacant
Entry - A view into a vacant entry in an
IndexMap. It is part of theEntryenum. - Values
- An iterator over the values of an
IndexMap. - Values
Mut - A mutable iterator over the values of an
IndexMap.
Enums§
Traits§
- Mutable
Entry Key - Opt-in mutable access to
Entrykeys. - Mutable
Keys - Opt-in mutable access to
IndexMapkeys.