Expand description
TypeSet is a collection for heterogeneous types. Each type can only exist once in the set, and
can only be retrieved by naming the type.
Because types can only be retrieved by naming them, rust’s module system allows module-private
storage in a shared TypeSet.
Currently, this crate imposes Send + Sync bounds on the stored types, but future versions may
offer variants without those bounds and/or with Clone bounds.
Implementation is based on
Modules§
- Types for interacting with a mutable view into a
TypeSetfor a given type
Structs§
- A collection for heterogenous types