Crate polymap [] [src]

Mapping containers of heterogeneous values

polymap provides implementations of two mapping containers for heterogeneous values:

  • PolyMap, which maps keys to values of varying type.
  • TypeMap, which stores values according to their type.

Reexports

pub use polymap::PolyMap;
pub use typemap::TypeMap;

Modules

polymap

Provides the PolyMap implementation, mapping keys to heterogeneous values

typemap

Provides the TypeMap implementation, mapping types to values