Lines Matching refs:RandomState
15 use crate::{RandomState};
20 pub struct AHashMap<K, V, S = crate::RandomState>(HashMap<K, V, S>);
22 impl<K, V> From<HashMap<K, V, crate::RandomState>> for AHashMap<K, V> {
23 fn from(item: HashMap<K, V, crate::RandomState>) -> Self { in from()
28 impl<K, V> Into<HashMap<K, V, crate::RandomState>> for AHashMap<K, V> {
29 fn into(self) -> HashMap<K, V, crate::RandomState> { in into() argument
34 impl<K, V> AHashMap<K, V, RandomState> {
36 AHashMap(HashMap::with_hasher(RandomState::default())) in new()
40 AHashMap(HashMap::with_capacity_and_hasher(capacity, RandomState::default())) in with_capacity()
319 impl<K, V> Default for AHashMap<K, V, RandomState> {
321 fn default() -> AHashMap<K, V, RandomState> { in default()