Skip to main content

vortex_utils/aliases/
hash_map.rs

1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright the Vortex contributors
3
4/// The default hash builder for HashMap.
5pub type DefaultHashBuilder = hashbrown::DefaultHashBuilder;
6/// Random state for HashMap (alias for DefaultHashBuilder).
7pub type RandomState = hashbrown::DefaultHashBuilder;
8/// HashMap type alias using the default hash builder.
9pub type HashMap<K, V, S = DefaultHashBuilder> = hashbrown::HashMap<K, V, S>;
10/// Entry type for HashMap.
11pub type Entry<'a, K, V, S> = hashbrown::hash_map::Entry<'a, K, V, S>;
12/// Entry type for HashMap.
13pub type EntryRef<'a, 'b, K, Q, V, S, A> = hashbrown::hash_map::EntryRef<'a, 'b, K, Q, V, S, A>;
14/// IntoIter type for HashMap.
15pub type IntoIter<K, V> = hashbrown::hash_map::IntoIter<K, V>;
16/// HashTable type alias.
17pub type HashTable<T> = hashbrown::HashTable<T>;
18/// Entry type for HashTable.
19pub type HashTableEntry<'a, T> = hashbrown::hash_table::Entry<'a, T>;