standard_lib/collections/hash/map/mod.rs
1//! A module containing [`HashMap`] and associtated types.
2//!
3//! Currently, the only other included types are for iteration, providing owned and borrowed
4//! iteration over entries, keys or values in a map.
5//!
6//! As a note, there is no mutable iterator over entries or keys because mutating the keys of a
7//! HashMap in place would cause a logic error.
8//!
9//! [`HashMap`] is also re-exported under the parent module.
10
11mod error;
12mod hash_map;
13mod iter;
14
15pub use error::*;
16pub use hash_map::*;
17pub use iter::*;