pub type RawMap<A> = HashMap<TypeId, Box<A>, BuildHasherDefault<TypeIdHasher>>;
Expand description
Raw access to the underlying HashMap
.
This is a public type alias because the underlying HashMap
could be
std::collections::HashMap
or hashbrown::HashMap
, depending on the crate features enabled.
For that reason, you should refer to this type as anymap::RawMap
rather than
std::collections::HashMap
to avoid breakage if something else in your crate tree enables
hashbrown.
See also raw_hash_map
, an export of the corresponding hash_map
module.