Expand description
A hashmap whose keys are defined by types.
Structs§
- Occupied
Entry - TypeMap
- TypeMap is a simple abstraction around the standard library’s
HashMap
type, 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
TypeMap
in debug representation if the values inside it all implementClone
andDebug
. - Cloneable
Storage - Storage type that allows cloning a
TypeMap
if the values inside it all implementClone
. - Debuggable
Storage - Storage type that allows formatting a
TypeMap
in 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
.