TypeIdMap

Type Alias TypeIdMap 

Source
pub type TypeIdMap<V> = HashMap<TypeId, V, BuildHasherDefault<TypeIdHasher>>;
Expand description

A HashMap with TypeId keys

Because TypeId is already a fully-hashed u64 (including data in the high seven bits, which hashbrown needs), there is no need to hash it again. Instead, this uses the much faster no-op hash.

Aliased Typeยง

pub struct TypeIdMap<V> { /* private fields */ }