☰
Type Definition ShardedHashMap
Methods
contains_pointer_to
intern
intern_ref
len
Other items in
rustc_data_structures
::
sharded
All crates
?
Type Definition
rustc_data_structures
::
sharded
::
ShardedHashMap
[
−
]
[src]
pub type ShardedHashMap<K, V> =
Sharded
<
FxHashMap
<K, V>>;
Implementations
[src]
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