Expand description
A hash map without Drop that stores data in arena allocator.
By default uses FxHasher to hash keys. The hasher can be customized via the S type
parameter (e.g. IdentBuildHasher for Ident keys).
See HashMap for more details.
Structs§
- Drain
- A draining iterator over the entries of a
HashMapin arbitrary order. The iterator element type is(K, V). - Extract
If - A draining iterator over entries of a
HashMapwhich don’t satisfy the predicatef(&k, &mut v)in arbitrary order. The iterator element type is(K, V). - HashMap
- A hash map without
Dropthat stores data in arena allocator. - Into
Iter - An owning iterator over the entries of a
HashMapin arbitrary order. The iterator element type is(K, V). - Into
Keys - An owning iterator over the keys of a
HashMapin arbitrary order. The iterator element type isK. - Into
Values - An owning iterator over the values of a
HashMapin arbitrary order. The iterator element type isV. - Iter
- An iterator over the entries of a
HashMapin arbitrary order. The iterator element type is(&'a K, &'a V). - IterMut
- A mutable iterator over the entries of a
HashMapin arbitrary order. The iterator element type is(&'a K, &'a mut V). - Keys
- An iterator over the keys of a
HashMapin arbitrary order. The iterator element type is&'a K. - Occupied
Error - The error returned by
try_insertwhen the key already exists. - Values
- An iterator over the values of a
HashMapin arbitrary order. The iterator element type is&'a V. - Values
Mut - A mutable iterator over the values of a
HashMapin arbitrary order. The iterator element type is&'a mut V.
Enums§
- Entry
- A view into a single entry in a map, which may either be vacant or occupied.
- Entry
Ref - A view into a single entry in a map, which may either be vacant or occupied, with any borrowed form of the map’s key type.
- TryReserve
Error - The error type for
try_reservemethods.
Traits§
- Equivalent
- Key equivalence trait.