Type Alias rustc_data_structures::sharded::ShardedHashMap
source · pub type ShardedHashMap<K, V> = Sharded<FxHashMap<K, V>>;
Aliased Type§
enum ShardedHashMap<K, V> {
Single(Lock<HashMap<K, V, BuildHasherDefault<FxHasher>>>),
}
Variants§
Single(Lock<HashMap<K, V, BuildHasherDefault<FxHasher>>>)
Implementations§
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: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes