hash.rs |
Utilities for hashmap initialization based on random sources. |
2898 |
index_map |
|
|
index_map.rs |
Type definitions for an ordered map. |
16060 |
index_set.rs |
Type definitions for an ordered set. |
8131 |
map.rs |
Type definitions for a default map. |
21702 |
mod.rs |
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.
- [`Map`]: Either backed by [`hashbrown::HashMap`] or Rust's [`BTreeMap`].
- [`Set`]: Either backed by [`hashbrown::HashSet`] or Rust's [`BTreeSet`].
- [`IndexMap`]: Either backed by [`indexmap::IndexMap`] or a custom implementation based on Rust's [`BTreeMap`].
- [`IndexSet`]: Either backed by [`indexmap::IndexSet`] or a custom implementation based on Rust's [`BTreeMap`].
For the hash-map based type definitions the hash algorithm type parameter is fixed.
[`BTreeMap`]: alloc::collections::BTreeMap
[`BTreeSet`]: alloc::collections::BTreeSet |
1134 |
set.rs |
Type definitions for a default set. |
16003 |