Skip to main content

cubecl_environment/
collections.rs

1/// The default hasher used by the environment's hash collections.
2pub use hashbrown::DefaultHashBuilder;
3
4/// A hash map with the environment's default hasher, usable in every
5/// environment (std, no-std and wasm).
6pub type HashMap<K, V, S = DefaultHashBuilder> = hashbrown::HashMap<K, V, S>;
7
8/// A hash set with the environment's default hasher, usable in every
9/// environment (std, no-std and wasm).
10pub type HashSet<T, S = DefaultHashBuilder> = hashbrown::HashSet<T, S>;
11
12pub use hashbrown::{hash_map, hash_set};