Expand description
A hashmap whose keys are defined by types.
Structs§
- Occupied
Entry - TypeMap
- TypeMap is a simple abstraction around the standard library’s
HashMaptype, where types are its keys. This allows for statically-checked value retrieval. - Vacant
Entry
Enums§
Traits§
- Clone
Debuggable Storage - Storage type that allows cloning and formatting a
TypeMapin debug representation if the values inside it all implementCloneandDebug. - Cloneable
Storage - Storage type that allows cloning a
TypeMapif the values inside it all implementClone. - Debuggable
Storage - Storage type that allows formatting a
TypeMapin debug representation if the values inside it all implementDebug. - Type
MapKey - TypeMapKey is used to declare key types that are eligible for use
with
TypeMap.
Type Aliases§
- Default
Storage - The default type used for storing values in a
TypeMap.