Module hashbrown::map

source ·

Structs§

  • A draining iterator over the entries of a HashMap in arbitrary order. The iterator element type is (K, V).
  • A draining iterator over entries of a HashMap which don’t satisfy the predicate f(&k, &mut v) in arbitrary order. The iterator element type is (K, V).
  • A hash map implemented with quadratic probing and SIMD lookup.
  • An owning iterator over the entries of a HashMap in arbitrary order. The iterator element type is (K, V).
  • An owning iterator over the keys of a HashMap in arbitrary order. The iterator element type is K.
  • An owning iterator over the values of a HashMap in arbitrary order. The iterator element type is V.
  • An iterator over the entries of a HashMap in arbitrary order. The iterator element type is (&'a K, &'a V).
  • A mutable iterator over the entries of a HashMap in arbitrary order. The iterator element type is (&'a K, &'a mut V).
  • An iterator over the keys of a HashMap in arbitrary order. The iterator element type is &'a K.
  • A view into an occupied entry in a HashMap. It is part of the Entry and EntryRef enums.
  • The error returned by try_insert when the key already exists.
  • A view into a vacant entry in a HashMap. It is part of the Entry enum.
  • A view into a vacant entry in a HashMap. It is part of the EntryRef enum.
  • An iterator over the values of a HashMap in arbitrary order. The iterator element type is &'a V.
  • A mutable iterator over the values of a HashMap in arbitrary order. The iterator element type is &'a mut V.

Enums§

  • A view into a single entry in a map, which may either be vacant or occupied.
  • 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.

Functions§

  • equivalent 🔒
    Ensures that a single closure type across uses of this which, in turn prevents multiple instances of any functions like RawTable::reserve from being generated
  • Ensures that a single closure type across uses of this which, in turn prevents multiple instances of any functions like RawTable::reserve from being generated
  • make_hash 🔒
  • Ensures that a single closure type across uses of this which, in turn prevents multiple instances of any functions like RawTable::reserve from being generated