Expand description
§broomdog 🧹🐕
broomdog is a Rust library providing a type map.
§what is a type map?
broomdog’s type map is a map of std::any::TypeId keys to type-erased
values. There may be at most one value for each key, which means the map
stores singleton values of different types.
§type values
Values of TypeMap may be any value that is Any + Send + Sync.
Structs§
- Loan
- A shared, type-erased value.
- LoanMut
- An exclusive type-erased value.
- TypeKey
- A key for a type-erased value.
- TypeMap
- A map of type identifiers to type-erased values.
- Type
Value - A type-erased value.
Enums§
- Broomdog
Err - Inner
Loan - The internal state of a
TypeValuewithin aTypeMap.