Crate typemap [] [src]

A type-based key value store where one value type is allowed for each key.

Structs

OccupiedEntry

A view onto an occupied entry in a TypeMap.

TypeMap

A map keyed by types.

VacantEntry

A view onto an unoccupied entry in a TypeMap.

Enums

Entry

A view onto an entry in a TypeMap.

Traits

CloneAny

A marker trait meant for use as the A parameter in TypeMap.

DebugAny

A marker trait meant for use as the A parameter in TypeMap.

Key

This trait defines the relationship between keys and values in a TypeMap.

Type Definitions

CloneMap

A version of TypeMap containing only Clone types.

DebugMap

A version of TypeMap containing only Debug types.

SendMap

A version of TypeMap containing only Send types.

ShareCloneMap

A version of TypeMap containing only Clone + Send + Sync types.

ShareDebugMap

A version of TypeMap containing only Debug + Send + Sync types.

ShareMap

A version of TypeMap containing only Send + Sync types.

SyncMap

A version of TypeMap containing only Sync types.