Lines Matching refs:RandomState
1 use crate::{RandomState};
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() argument
32 impl<T> AHashSet<T, RandomState> {
34 AHashSet(HashSet::with_hasher(RandomState::default())) in new()
38 AHashSet(HashSet::with_capacity_and_hasher(capacity, RandomState::default())) in with_capacity()
270 impl<T> Default for AHashSet<T, RandomState> {
273 fn default() -> AHashSet<T, RandomState> { in default()