[][src]Crate typemap_rev

A hashmap whose keys are defined by types.

Structs

OccupiedEntry
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.

VacantEntry

Enums

Entry

A view into a single entry in the TypeMap, which may either be vacant or occupied.

Traits

TypeMapKey

TypeMapKey is used to declare key types that are eligible for use with TypeMap.