hashbrown

Module hash_table

Source
Expand description

A hash table implemented with quadratic probing and SIMD lookup.

Structs§

  • Type representing the absence of an entry, as returned by HashTable::find_entry and HashTable::get_bucket_entry.
  • A draining iterator over the items of a HashTable.
  • A draining iterator over entries of a HashTable which don’t satisfy the predicate f.
  • Low-level hash table with explicit hashing.
  • An owning iterator over the entries of a HashTable in arbitrary order. The iterator element type is T.
  • An iterator over the entries of a HashTable in arbitrary order. The iterator element type is &'a T.
  • An iterator producing the usize indices of all occupied buckets, within the range 0..table.num_buckets().
  • An iterator over the entries of a HashTable that could match a given hash. The iterator element type is &'a T.
  • An iterator producing the usize indices of all buckets which may match a hash.
  • A mutable iterator over the entries of a HashTable that could match a given hash. The iterator element type is &'a mut T.
  • A mutable iterator over the entries of a HashTable in arbitrary order. The iterator element type is &'a mut T.
  • A view into an occupied entry in a HashTable. It is part of the Entry enum.
  • An unsafe iterator over the entries of a HashTable in arbitrary order. The iterator element type is NonNull<T>.
  • A view into a vacant entry in a HashTable. It is part of the Entry enum.

Enums§

  • A view into a single entry in a table, which may either be vacant or occupied.