Module wasmer_types::entity
source · Expand description
The entity module, with common helpers for Rust structures
Modules§
- Compact representation of
Option<T>
for types with a reserved value.
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
.