Expand description
Implements a vector-based slab-like map
with an interface similar to that of HashMap,
and also provides tools
for generating lightweight identifiers that can be type-safely used as keys
for this map.
Modules§
- collections
- Collection types.
- prelude
- Crate prelude.
Macros§
- define_
key_ wrapper - Creates a new type that acts as an
usize-based replacement for the old type that can be used as a key forblazemapcollections. - define_
key_ wrapper_ bounded - Creates a new type that acts as an
usize-based replacement for the old type that can be used as a key forblazemapcollections. Being an analogue ofdefine_key_wrapperfor the case when the user could statically guarantee that the number of unique keys doesn’t exceedMAX_CAP, it’s optimized for read operations so that they don’t create any multi-thread contention. - define_
plain_ id - Creates a new type based on incrementally generated
usizeinstances that can be used as a key forblazemapcollections.