Module hash_table
A hash table implemented with quadratic probing and SIMD lookup.
Structs
-
AbsentEntry
Type representing the absence of an entry, as returned by
HashTable::find_entryandHashTable::get_bucket_entry. -
Drain
A draining iterator over the items of a
HashTable. -
ExtractIf
A draining iterator over entries of a
HashTablewhich don't satisfy the predicatef. - HashTable Low-level hash table with explicit hashing.
-
IntoIter
An owning iterator over the entries of a
HashTablein arbitrary order. The iterator element type isT. -
Iter
An iterator over the entries of a
HashTablein arbitrary order. The iterator element type is&'a T. -
IterBuckets
An iterator producing the
usizeindices of all occupied buckets, within the range0..table.num_buckets(). -
IterHash
An iterator over the entries of a
HashTablethat could match a given hash. The iterator element type is&'a T. -
IterHashBuckets
An iterator producing the
usizeindices of all buckets which may match a hash. -
IterHashMut
A mutable iterator over the entries of a
HashTablethat could match a given hash. The iterator element type is&'a mut T. -
IterMut
A mutable iterator over the entries of a
HashTablein arbitrary order. The iterator element type is&'a mut T. -
OccupiedEntry
A view into an occupied entry in a
HashTable. It is part of theEntryenum. -
UnsafeIter
An unsafe iterator over the entries of a
HashTablein arbitrary order. The iterator element type isNonNull<T>. -
VacantEntry
A view into a vacant entry in a
HashTable. It is part of theEntryenum.
Enums
- Entry A view into a single entry in a table, which may either be vacant or occupied.