Module wasmer_types::entity
source ยท Expand description
The entity module, with common helpers for Rust structures
Modulesยง
- boxed_slice ๐Boxed slices for
PrimaryMap
. - iter ๐A double-ended iterator over entity references and entities.
- keys ๐A double-ended iterator over entity references.
- Compact representation of
Option<T>
for types with a reserved value. - primary_map ๐Densely numbered entity references as mapping keys.
- secondary_map ๐Densely numbered entity references as mapping keys.
Macrosยง
- Macro which provides the common implementation of a 32-bit entity reference.
Structsยง
- An archived
PrimaryMap
- A slice mapping
K -> V
allocating dense entity references. - Iterate over all keys in order.
- Iterate over all keys in order.
- Iterate over all keys in order.
- A primary mapping
K -> V
allocating dense entity references. - A mapping
K -> V
for densely indexed entity references.
Traitsยง
- A type wrapping a small integer index should implement
EntityRef
so it can be used as the key of anSecondaryMap
orSparseMap
.