Crate anymap

source ·
Expand description

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

Modules

  • The different types of Any for use in a map.
  • The raw form of a Map, allowing untyped 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 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.

Type Aliases

  • The most common type of Map: just using Any.