🦀 StaticTypeMap
A map where the key is the type of the value.
You may be looking for:
Example
use TypeMap;
let mut type_map = new;
type_map.insert;
type_map.insert;
type_map.insert;
type_map.insert;
assert!;
assert_eq!;
if let Some = type_map.insert
type_map.;
assert_eq!;
Features
| name | default ? | description |
|---|---|---|
send |
yes | Enables [SendTypeMap] |
sync |
yes | Enables [SyncTypeMap] |
hashbrown |
no | Enables no_std support |