Expand description

This crate provides a safe and convenient store for one value of each type.

Your starting point is Map. It has an example.

Modules

A re-export of std::collections::hash_map for raw access.

Structs

A collection containing zero or one values for any given type and allowing convenient, type-safe access to those values.

A view into a single occupied location in an Map.

A hasher designed to eke a little more speed out, given TypeId’s known characteristics.

A view into a single empty location in an Map.

Enums

A view into a single location in an Map, which may be vacant or occupied.

Traits

Any, but with cloning.

Type Definitions

The most common type of Map: just using Any; Map<dyn Any>.

Raw access to the underlying HashMap.