Lines Matching refs:HashSet
2 use std::collections::{hash_set, HashSet};
18 pub struct AHashSet<T, S = crate::RandomState>(HashSet<T, S>);
20 impl<T> From<HashSet<T, crate::RandomState>> for AHashSet<T> {
21 fn from(item: HashSet<T, crate::RandomState>) -> Self { in from()
26 impl<T> Into<HashSet<T, crate::RandomState>> for AHashSet<T> {
27 fn into(self) -> HashSet<T, crate::RandomState> { in into()
34 AHashSet(HashSet::with_hasher(RandomState::default())) in new()
38 AHashSet(HashSet::with_capacity_and_hasher(capacity, RandomState::default())) in with_capacity()
45 AHashSet(HashSet::with_hasher(hash_builder)) in with_hasher()
49 AHashSet(HashSet::with_capacity_and_hasher(capacity, hash_builder)) in with_capacity_and_hasher()
54 type Target = HashSet<T, S>;
228 AHashSet(HashSet::from_iter(iter)) in from_iter()
274 AHashSet(HashSet::default()) in default()
292 let hash_set = HashSet::deserialize(deserializer); in deserialize()