AnyMap

Type Alias AnyMap 

Source
type AnyMap = HashMap<TypeId, Arc<dyn Any + Send + Sync + 'static>, BuildHasherDefault<IdHasher>>;
Expand description

Map that holds opaque objects indexed by their type.

Data is wrapped into an Arc to enable Clone while still being object safe.

Aliased Typeยง

struct AnyMap { /* private fields */ }