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§
- Collection types.
- Crate prelude.
Macros§
- Creates a new type that acts as an
usize
-based replacement for the old type that can be used as a key forblazemap
collections. - Creates a new type that acts as an
usize
-based replacement for the old type that can be used as a key forblazemap
collections. Being an analogue ofdefine_key_wrapper
for 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. - Creates a new type based on incrementally generated
usize
instances that can be used as a key forblazemap
collections.