Module wasmparser::collections

source ·
Available on crate feature validate only.
Expand description

Type definitions for maps and sets used by the wasmparser crate.

This module contains type definitions for Map, Set, IndexMap, and IndexSet. These types are thin-wrappers around either hash-map based or B-tree-map based data structures. Users can strictly use the btree-map based variants by enabling the no-hash-maps crate feature.

For the hash-map based type definitions the hash algorithm type parameter is fixed.

Modules§

  • Utilities for hashmap initialization based on random sources.
  • Type definitions for an ordered map.
  • Type definitions for an ordered set.
  • Type definitions for a default map.
  • Type definitions for a default set.

Structs§

  • A hash table where the iteration order of the key-value pairs is independent of the hash values of the keys.
  • A default set of values.
  • A default key-value mapping.
  • A default set of values.