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

Key

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

Type Definitions

CloneMap

A version of TypeMap containing only Clone types.

SendMap

A version of TypeMap containing only Send types.

ShareCloneMap

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

ShareMap

A version of TypeMap containing only Send + Sync types.

SyncMap

A version of TypeMap containing only Sync types.