Crate wasmi_collections

Source
Expand description

Data structures specialized for usage in the Wasmi interpreter.

All data structures provide an API that can be backed by both HashMap and BTreeMap. Users can choose which kind of backend to operate on via the no-hash-maps crate feature.

§Provided Data Structures

Modules§

arena
Fast arena data structures specialized for usage in the Wasmi interpreter.
map
Type definitions for a default map.
set
Type definitions for a default set.
string_interner
Data structure to efficiently store and deduplicate strings.

Structs§

Arena
An arena allocator with a given index and entity type.
ComponentVec
Stores components for entities backed by a Vec.
DedupArena
A deduplicating arena allocator with a given index and entity type.
HeadVec
A Vec-like data structure with fast access to the last item.
Map
A default key-value mapping.
Set
A default set of values.
StringInterner
Efficiently interns and deduplicates strings.