pub type ShardedHashMap<K, V> = Sharded<HashTable<(K, V)>>;
Aliased Type§
pub enum ShardedHashMap<K, V> {
Single(Lock<HashTable<(K, V)>>),
Shards(Box<[CacheAligned<Lock<HashTable<(K, V)>>>; 32]>),
}
Variants§
Implementations§
Source§impl<K: Eq, V> ShardedHashMap<K, V>
impl<K: Eq, V> ShardedHashMap<K, V>
Source§impl<K: Eq + Hash, V> ShardedHashMap<K, V>
impl<K: Eq + Hash, V> ShardedHashMap<K, V>
Source§impl<K: Eq + Hash + Copy + IntoPointer> ShardedHashMap<K, ()>
impl<K: Eq + Hash + Copy + IntoPointer> ShardedHashMap<K, ()>
pub fn contains_pointer_to<T: Hash + IntoPointer>(&self, value: &T) -> bool
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.