[][src]Type Definition rustc_data_structures::sharded::ShardedHashMap

type ShardedHashMap<K, V> = Sharded<FxHashMap<K, V>>;

Implementations

impl<K: Eq, V> ShardedHashMap<K, V>[src]

pub fn len(&self) -> usize[src]

impl<K: Eq + Hash + Copy> ShardedHashMap<K, ()>[src]

pub fn intern_ref<Q: ?Sized>(&self, value: &Q, make: impl FnOnce() -> K) -> K where
    K: Borrow<Q>,
    Q: Hash + Eq
[src]

pub fn intern<Q>(&self, value: Q, make: impl FnOnce(Q) -> K) -> K where
    K: Borrow<Q>,
    Q: Hash + Eq
[src]

impl<K: Eq + Hash + Copy + IntoPointer> ShardedHashMap<K, ()>[src]

pub fn contains_pointer_to<T: Hash + IntoPointer>(&self, value: &T) -> bool[src]