pub type IntSet<T> = HashSet<T, BuildIntHasher<T>>;
std
A HashSet of integers, using IntHasher to perform no hashing at all.
HashSet
IntHasher
See IsEnabled for use with custom types.
IsEnabled
use integer_hasher::IntSet; let mut m = IntSet::default(); m.insert(0u32); m.insert(1u32); assert!(m.contains(&0)); assert!(m.contains(&1));