pub type IntHashSet<T> = HashSet<T, BuildIntHasher<T>>;Available on crate features
msg or queue only.Expand description
IntHashSet for integer HashSet
use prosa_utils::hash::{BuildIntHasher, IntHashSet};
let mut int_hashset: IntHashSet<u32> = IntHashSet::with_capacity_and_hasher(1, BuildIntHasher::default());
assert!(int_hashset.insert(2));
assert!(int_hashset.insert(3));
assert!(int_hashset.capacity() >= 2);Aliased Typeยง
pub struct IntHashSet<T> { /* private fields */ }