mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2026-02-25 19:09:12 +00:00
9 lines
87 KiB
JavaScript
9 lines
87 KiB
JavaScript
(function() {
|
||
var type_impls = Object.fromEntries([["intern",[["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Clone-for-DashMap%3CK,+V,+S%3E\" class=\"impl\"><a href=\"#impl-Clone-for-DashMap%3CK,+V,+S%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl<K, V, S> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a> for DashMap<K, V, S><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a>,\n V: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a>,\n S: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a>,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.clone\" class=\"method trait-impl\"><a href=\"#method.clone\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html#tymethod.clone\" class=\"fn\">clone</a>(&self) -> DashMap<K, V, S></h4></section></summary><div class='docblock'>Returns a duplicate of the value. <a href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html#tymethod.clone\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.clone_from\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.0.0\">1.0.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/1.93.1/src/core/clone.rs.html#245-247\">Source</a></span><a href=\"#method.clone_from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html#method.clone_from\" class=\"fn\">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html#method.clone_from\">Read more</a></div></details></div></details>","Clone","intern::intern::InternMap","intern::intern_slice::InternMap","intern::symbol::Map"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-DashMap%3CK,+V,+S%3E\" class=\"impl\"><a href=\"#impl-DashMap%3CK,+V,+S%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl<'a, K, V, S> DashMap<K, V, S><div class=\"where\">where\n K: 'a + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a>,\n V: 'a,\n S: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.BuildHasher.html\" title=\"trait core::hash::BuildHasher\">BuildHasher</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a>,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.into_read_only\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.into_read_only\" class=\"fn\">into_read_only</a>(self) -> ReadOnlyView<K, V, S></h4></section></summary><div class=\"docblock\"><p>Wraps this <code>DashMap</code> into a read-only view. This view allows to obtain raw references to the stored values.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.with_hasher\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.with_hasher\" class=\"fn\">with_hasher</a>(hasher: S) -> DashMap<K, V, S></h4></section></summary><div class=\"docblock\"><p>Creates a new DashMap with a capacity of 0 and the provided hasher.</p>\n<h5 id=\"examples\"><a class=\"doc-anchor\" href=\"#examples\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n<span class=\"kw\">use </span>std::collections::hash_map::RandomState;\n\n<span class=\"kw\">let </span>s = RandomState::new();\n<span class=\"kw\">let </span>reviews = DashMap::with_hasher(s);\nreviews.insert(<span class=\"string\">\"Veloren\"</span>, <span class=\"string\">\"What a fantastic game!\"</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.with_capacity_and_hasher\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.with_capacity_and_hasher\" class=\"fn\">with_capacity_and_hasher</a>(capacity: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a>, hasher: S) -> DashMap<K, V, S></h4></section></summary><div class=\"docblock\"><p>Creates a new DashMap with a specified starting capacity and hasher.</p>\n<h5 id=\"examples-1\"><a class=\"doc-anchor\" href=\"#examples-1\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n<span class=\"kw\">use </span>std::collections::hash_map::RandomState;\n\n<span class=\"kw\">let </span>s = RandomState::new();\n<span class=\"kw\">let </span>mappings = DashMap::with_capacity_and_hasher(<span class=\"number\">2</span>, s);\nmappings.insert(<span class=\"number\">2</span>, <span class=\"number\">4</span>);\nmappings.insert(<span class=\"number\">8</span>, <span class=\"number\">16</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.with_hasher_and_shard_amount\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.with_hasher_and_shard_amount\" class=\"fn\">with_hasher_and_shard_amount</a>(\n hasher: S,\n shard_amount: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a>,\n) -> DashMap<K, V, S></h4></section></summary><div class=\"docblock\"><p>Creates a new DashMap with a specified hasher and shard amount</p>\n<p>shard_amount should be greater than 0 and a power of two.\nIf a shard_amount which is not a power of two is provided, the function will panic.</p>\n<h5 id=\"examples-2\"><a class=\"doc-anchor\" href=\"#examples-2\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n<span class=\"kw\">use </span>std::collections::hash_map::RandomState;\n\n<span class=\"kw\">let </span>s = RandomState::new();\n<span class=\"kw\">let </span>mappings = DashMap::with_hasher_and_shard_amount(s, <span class=\"number\">32</span>);\nmappings.insert(<span class=\"number\">2</span>, <span class=\"number\">4</span>);\nmappings.insert(<span class=\"number\">8</span>, <span class=\"number\">16</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.with_capacity_and_hasher_and_shard_amount\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.with_capacity_and_hasher_and_shard_amount\" class=\"fn\">with_capacity_and_hasher_and_shard_amount</a>(\n capacity: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a>,\n hasher: S,\n shard_amount: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a>,\n) -> DashMap<K, V, S></h4></section></summary><div class=\"docblock\"><p>Creates a new DashMap with a specified starting capacity, hasher and shard_amount.</p>\n<p>shard_amount should greater than 0 and be a power of two.\nIf a shard_amount which is not a power of two is provided, the function will panic.</p>\n<h5 id=\"examples-3\"><a class=\"doc-anchor\" href=\"#examples-3\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n<span class=\"kw\">use </span>std::collections::hash_map::RandomState;\n\n<span class=\"kw\">let </span>s = RandomState::new();\n<span class=\"kw\">let </span>mappings = DashMap::with_capacity_and_hasher_and_shard_amount(<span class=\"number\">2</span>, s, <span class=\"number\">32</span>);\nmappings.insert(<span class=\"number\">2</span>, <span class=\"number\">4</span>);\nmappings.insert(<span class=\"number\">8</span>, <span class=\"number\">16</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.hash_usize\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.hash_usize\" class=\"fn\">hash_usize</a><T>(&self, item: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&T</a>) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a><div class=\"where\">where\n T: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a>,</div></h4></section></summary><div class=\"docblock\"><p>Hash a given item to produce a usize.\nUses the provided or default HashBuilder.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.shards\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.shards\" class=\"fn\">shards</a>(\n &self,\n) -> &[CachePadded<RwLock<RawRwLock, RawTable<(K, SharedValue<V>)>>>]</h4></section></summary><div class=\"docblock\"><p>Allows you to peek at the inner shards that store your data.\nYou should probably not use this unless you know what you are doing.</p>\n<p>Requires the <code>raw-api</code> feature to be enabled.</p>\n<h5 id=\"examples-4\"><a class=\"doc-anchor\" href=\"#examples-4\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>map = DashMap::<(), ()>::new();\n<span class=\"macro\">println!</span>(<span class=\"string\">\"Amount of shards: {}\"</span>, map.shards().len());</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.shards_mut\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.shards_mut\" class=\"fn\">shards_mut</a>(\n &mut self,\n) -> &mut [CachePadded<RwLock<RawRwLock, RawTable<(K, SharedValue<V>)>>>]</h4></section></summary><div class=\"docblock\"><p>Provides mutable access to the inner shards that store your data.\nYou should probably not use this unless you know what you are doing.</p>\n<p>Requires the <code>raw-api</code> feature to be enabled.</p>\n<h5 id=\"examples-5\"><a class=\"doc-anchor\" href=\"#examples-5\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n<span class=\"kw\">use </span>dashmap::SharedValue;\n<span class=\"kw\">use </span>std::hash::{Hash, Hasher, BuildHasher};\n\n<span class=\"kw\">let </span><span class=\"kw-2\">mut </span>map = DashMap::<i32, <span class=\"kw-2\">&</span><span class=\"lifetime\">'static </span>str>::new();\n<span class=\"kw\">let </span>shard_ind = map.determine_map(<span class=\"kw-2\">&</span><span class=\"number\">42</span>);\n<span class=\"kw\">let </span><span class=\"kw-2\">mut </span>factory = map.hasher().clone();\n<span class=\"kw\">let </span>hasher = |tuple: <span class=\"kw-2\">&</span>(i32, SharedValue<<span class=\"kw-2\">&</span><span class=\"lifetime\">'static </span>str>)| {\n <span class=\"kw\">let </span><span class=\"kw-2\">mut </span>hasher = factory.build_hasher();\n tuple.<span class=\"number\">0</span>.hash(<span class=\"kw-2\">&mut </span>hasher);\n hasher.finish()\n};\n<span class=\"kw\">let </span>data = (<span class=\"number\">42</span>, SharedValue::new(<span class=\"string\">\"forty two\"</span>));\n<span class=\"kw\">let </span>hash = hasher(<span class=\"kw-2\">&</span>data);\nmap.shards_mut()[shard_ind].get_mut().insert(hash, data, hasher);\n<span class=\"macro\">assert_eq!</span>(<span class=\"kw-2\">*</span>map.get(<span class=\"kw-2\">&</span><span class=\"number\">42</span>).unwrap(), <span class=\"string\">\"forty two\"</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.into_shards\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.into_shards\" class=\"fn\">into_shards</a>(\n self,\n) -> <a class=\"struct\" href=\"https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html\" title=\"struct alloc::boxed::Box\">Box</a><[CachePadded<RwLock<RawRwLock, RawTable<(K, SharedValue<V>)>>>]></h4></section></summary><div class=\"docblock\"><p>Consumes this <code>DashMap</code> and returns the inner shards.\nYou should probably not use this unless you know what you are doing.</p>\n<p>Requires the <code>raw-api</code> feature to be enabled.</p>\n<p>See [<code>DashMap::shards()</code>] and [<code>DashMap::shards_mut()</code>] for more information.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.determine_map\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.determine_map\" class=\"fn\">determine_map</a><Q>(&self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class=\"docblock\"><p>Finds which shard a certain key is stored in.\nYou should probably not use this unless you know what you are doing.\nNote that shard selection is dependent on the default or provided HashBuilder.</p>\n<p>Requires the <code>raw-api</code> feature to be enabled.</p>\n<h5 id=\"examples-6\"><a class=\"doc-anchor\" href=\"#examples-6\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>map = DashMap::new();\nmap.insert(<span class=\"string\">\"coca-cola\"</span>, <span class=\"number\">1.4</span>);\n<span class=\"macro\">println!</span>(<span class=\"string\">\"coca-cola is stored in shard: {}\"</span>, map.determine_map(<span class=\"string\">\"coca-cola\"</span>));</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.determine_shard\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.determine_shard\" class=\"fn\">determine_shard</a>(&self, hash: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a>) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a></h4></section></summary><div class=\"docblock\"><p>Finds which shard a certain hash is stored in.</p>\n<p>Requires the <code>raw-api</code> feature to be enabled.</p>\n<h5 id=\"examples-7\"><a class=\"doc-anchor\" href=\"#examples-7\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>map: DashMap<i32, i32> = DashMap::new();\n<span class=\"kw\">let </span>key = <span class=\"string\">\"key\"</span>;\n<span class=\"kw\">let </span>hash = map.hash_usize(<span class=\"kw-2\">&</span>key);\n<span class=\"macro\">println!</span>(<span class=\"string\">\"hash is stored in shard: {}\"</span>, map.determine_shard(hash));</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.hasher\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.hasher\" class=\"fn\">hasher</a>(&self) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&S</a></h4></section></summary><div class=\"docblock\"><p>Returns a reference to the map’s <a href=\"https://doc.rust-lang.org/std/hash/trait.BuildHasher.html\"><code>BuildHasher</code></a>.</p>\n<h5 id=\"examples-8\"><a class=\"doc-anchor\" href=\"#examples-8\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n<span class=\"kw\">use </span>std::collections::hash_map::RandomState;\n\n<span class=\"kw\">let </span>hasher = RandomState::new();\n<span class=\"kw\">let </span>map: DashMap<i32, i32> = DashMap::new();\n<span class=\"kw\">let </span>hasher: <span class=\"kw-2\">&</span>RandomState = map.hasher();</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.insert\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.insert\" class=\"fn\">insert</a>(&self, key: K, value: V) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><V></h4></section></summary><div class=\"docblock\"><p>Inserts a key and a value into the map. Returns the old value associated with the key if there was one.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding any sort of reference into the map.</p>\n<h5 id=\"examples-9\"><a class=\"doc-anchor\" href=\"#examples-9\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>map = DashMap::new();\nmap.insert(<span class=\"string\">\"I am the key!\"</span>, <span class=\"string\">\"And I am the value!\"</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.remove\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.remove\" class=\"fn\">remove</a><Q>(&self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html\">(K, V)</a>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class=\"docblock\"><p>Removes an entry from the map, returning the key and value if they existed in the map.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding any sort of reference into the map.</p>\n<h5 id=\"examples-10\"><a class=\"doc-anchor\" href=\"#examples-10\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>soccer_team = DashMap::new();\nsoccer_team.insert(<span class=\"string\">\"Jack\"</span>, <span class=\"string\">\"Goalie\"</span>);\n<span class=\"macro\">assert_eq!</span>(soccer_team.remove(<span class=\"string\">\"Jack\"</span>).unwrap().<span class=\"number\">1</span>, <span class=\"string\">\"Goalie\"</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.remove_if\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.remove_if\" class=\"fn\">remove_if</a><Q>(\n &self,\n key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>,\n f: impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnOnce.html\" title=\"trait core::ops::function::FnOnce\">FnOnce</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&K</a>, <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&V</a>) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.bool.html\">bool</a>,\n) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html\">(K, V)</a>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class=\"docblock\"><p>Removes an entry from the map, returning the key and value\nif the entry existed and the provided conditional function returned true.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding any sort of reference into the map.</p>\n\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>soccer_team = DashMap::new();\nsoccer_team.insert(<span class=\"string\">\"Sam\"</span>, <span class=\"string\">\"Forward\"</span>);\nsoccer_team.remove_if(<span class=\"string\">\"Sam\"</span>, |<span class=\"kw\">_</span>, position| position == <span class=\"kw-2\">&</span><span class=\"string\">\"Goalie\"</span>);\n<span class=\"macro\">assert!</span>(soccer_team.contains_key(<span class=\"string\">\"Sam\"</span>));</code></pre></div>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>soccer_team = DashMap::new();\nsoccer_team.insert(<span class=\"string\">\"Sam\"</span>, <span class=\"string\">\"Forward\"</span>);\nsoccer_team.remove_if(<span class=\"string\">\"Sam\"</span>, |<span class=\"kw\">_</span>, position| position == <span class=\"kw-2\">&</span><span class=\"string\">\"Forward\"</span>);\n<span class=\"macro\">assert!</span>(!soccer_team.contains_key(<span class=\"string\">\"Sam\"</span>));</code></pre></div></div></details><section id=\"method.remove_if_mut\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.remove_if_mut\" class=\"fn\">remove_if_mut</a><Q>(\n &self,\n key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>,\n f: impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnOnce.html\" title=\"trait core::ops::function::FnOnce\">FnOnce</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&K</a>, <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&mut V</a>) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.bool.html\">bool</a>,\n) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html\">(K, V)</a>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section><details class=\"toggle method-toggle\" open><summary><section id=\"method.iter\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.iter\" class=\"fn\">iter</a>(&'a self) -> Iter<'a, K, V, S></h4></section></summary><div class=\"docblock\"><p>Creates an iterator over a DashMap yielding immutable references.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding a mutable reference into the map.</p>\n<h5 id=\"examples-11\"><a class=\"doc-anchor\" href=\"#examples-11\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>words = DashMap::new();\nwords.insert(<span class=\"string\">\"hello\"</span>, <span class=\"string\">\"world\"</span>);\n<span class=\"macro\">assert_eq!</span>(words.iter().count(), <span class=\"number\">1</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.iter_mut\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.iter_mut\" class=\"fn\">iter_mut</a>(&'a self) -> IterMut<'a, K, V, S></h4></section></summary><div class=\"docblock\"><p>Iterator over a DashMap yielding mutable references.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding any sort of reference into the map.</p>\n<h5 id=\"examples-12\"><a class=\"doc-anchor\" href=\"#examples-12\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>map = DashMap::new();\nmap.insert(<span class=\"string\">\"Johnny\"</span>, <span class=\"number\">21</span>);\nmap.iter_mut().for_each(|<span class=\"kw-2\">mut </span>r| <span class=\"kw-2\">*</span>r += <span class=\"number\">1</span>);\n<span class=\"macro\">assert_eq!</span>(<span class=\"kw-2\">*</span>map.get(<span class=\"string\">\"Johnny\"</span>).unwrap(), <span class=\"number\">22</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.get\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.get\" class=\"fn\">get</a><Q>(&'a self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><Ref<'a, K, V>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class=\"docblock\"><p>Get an immutable reference to an entry in the map</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding a mutable reference into the map.</p>\n<h5 id=\"examples-13\"><a class=\"doc-anchor\" href=\"#examples-13\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>youtubers = DashMap::new();\nyoutubers.insert(<span class=\"string\">\"Bosnian Bill\"</span>, <span class=\"number\">457000</span>);\n<span class=\"macro\">assert_eq!</span>(<span class=\"kw-2\">*</span>youtubers.get(<span class=\"string\">\"Bosnian Bill\"</span>).unwrap(), <span class=\"number\">457000</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.get_mut\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.get_mut\" class=\"fn\">get_mut</a><Q>(&'a self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><RefMut<'a, K, V>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class=\"docblock\"><p>Get a mutable reference to an entry in the map</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding any sort of reference into the map.</p>\n<h5 id=\"examples-14\"><a class=\"doc-anchor\" href=\"#examples-14\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>class = DashMap::new();\nclass.insert(<span class=\"string\">\"Albin\"</span>, <span class=\"number\">15</span>);\n<span class=\"kw-2\">*</span>class.get_mut(<span class=\"string\">\"Albin\"</span>).unwrap() -= <span class=\"number\">1</span>;\n<span class=\"macro\">assert_eq!</span>(<span class=\"kw-2\">*</span>class.get(<span class=\"string\">\"Albin\"</span>).unwrap(), <span class=\"number\">14</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.try_get\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.try_get\" class=\"fn\">try_get</a><Q>(&'a self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> TryResult<Ref<'a, K, V>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class=\"docblock\"><p>Get an immutable reference to an entry in the map, if the shard is not locked.\nIf the shard is locked, the function will return [TryResult::Locked].</p>\n<h5 id=\"examples-15\"><a class=\"doc-anchor\" href=\"#examples-15\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n<span class=\"kw\">use </span>dashmap::try_result::TryResult;\n\n<span class=\"kw\">let </span>map = DashMap::new();\nmap.insert(<span class=\"string\">\"Johnny\"</span>, <span class=\"number\">21</span>);\n\n<span class=\"macro\">assert_eq!</span>(<span class=\"kw-2\">*</span>map.try_get(<span class=\"string\">\"Johnny\"</span>).unwrap(), <span class=\"number\">21</span>);\n\n<span class=\"kw\">let </span>_result1_locking = map.get_mut(<span class=\"string\">\"Johnny\"</span>);\n\n<span class=\"kw\">let </span>result2 = map.try_get(<span class=\"string\">\"Johnny\"</span>);\n<span class=\"macro\">assert!</span>(result2.is_locked());</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.try_get_mut\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.try_get_mut\" class=\"fn\">try_get_mut</a><Q>(&'a self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> TryResult<RefMut<'a, K, V>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class=\"docblock\"><p>Get a mutable reference to an entry in the map, if the shard is not locked.\nIf the shard is locked, the function will return [TryResult::Locked].</p>\n<h5 id=\"examples-16\"><a class=\"doc-anchor\" href=\"#examples-16\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n<span class=\"kw\">use </span>dashmap::try_result::TryResult;\n\n<span class=\"kw\">let </span>map = DashMap::new();\nmap.insert(<span class=\"string\">\"Johnny\"</span>, <span class=\"number\">21</span>);\n\n<span class=\"kw-2\">*</span>map.try_get_mut(<span class=\"string\">\"Johnny\"</span>).unwrap() += <span class=\"number\">1</span>;\n<span class=\"macro\">assert_eq!</span>(<span class=\"kw-2\">*</span>map.get(<span class=\"string\">\"Johnny\"</span>).unwrap(), <span class=\"number\">22</span>);\n\n<span class=\"kw\">let </span>_result1_locking = map.get(<span class=\"string\">\"Johnny\"</span>);\n\n<span class=\"kw\">let </span>result2 = map.try_get_mut(<span class=\"string\">\"Johnny\"</span>);\n<span class=\"macro\">assert!</span>(result2.is_locked());</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.shrink_to_fit\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.shrink_to_fit\" class=\"fn\">shrink_to_fit</a>(&self)</h4></section></summary><div class=\"docblock\"><p>Remove excess capacity to reduce memory usage.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding any sort of reference into the map.</p>\n<h5 id=\"examples-17\"><a class=\"doc-anchor\" href=\"#examples-17\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n<span class=\"kw\">use </span>dashmap::try_result::TryResult;\n\n<span class=\"kw\">let </span>map = DashMap::new();\nmap.insert(<span class=\"string\">\"Johnny\"</span>, <span class=\"number\">21</span>);\n<span class=\"macro\">assert!</span>(map.capacity() > <span class=\"number\">0</span>);\nmap.remove(<span class=\"string\">\"Johnny\"</span>);\nmap.shrink_to_fit();\n<span class=\"macro\">assert_eq!</span>(map.capacity(), <span class=\"number\">0</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.retain\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.retain\" class=\"fn\">retain</a>(&self, f: impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnMut.html\" title=\"trait core::ops::function::FnMut\">FnMut</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&K</a>, <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&mut V</a>) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.bool.html\">bool</a>)</h4></section></summary><div class=\"docblock\"><p>Retain elements that whose predicates return true\nand discard elements whose predicates return false.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding any sort of reference into the map.</p>\n<h5 id=\"examples-18\"><a class=\"doc-anchor\" href=\"#examples-18\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>people = DashMap::new();\npeople.insert(<span class=\"string\">\"Albin\"</span>, <span class=\"number\">15</span>);\npeople.insert(<span class=\"string\">\"Jones\"</span>, <span class=\"number\">22</span>);\npeople.insert(<span class=\"string\">\"Charlie\"</span>, <span class=\"number\">27</span>);\npeople.retain(|<span class=\"kw\">_</span>, v| <span class=\"kw-2\">*</span>v > <span class=\"number\">20</span>);\n<span class=\"macro\">assert_eq!</span>(people.len(), <span class=\"number\">2</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.len\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.len\" class=\"fn\">len</a>(&self) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a></h4></section></summary><div class=\"docblock\"><p>Fetches the total number of key-value pairs stored in the map.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding a mutable reference into the map.</p>\n<h5 id=\"examples-19\"><a class=\"doc-anchor\" href=\"#examples-19\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>people = DashMap::new();\npeople.insert(<span class=\"string\">\"Albin\"</span>, <span class=\"number\">15</span>);\npeople.insert(<span class=\"string\">\"Jones\"</span>, <span class=\"number\">22</span>);\npeople.insert(<span class=\"string\">\"Charlie\"</span>, <span class=\"number\">27</span>);\n<span class=\"macro\">assert_eq!</span>(people.len(), <span class=\"number\">3</span>);</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.is_empty\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.is_empty\" class=\"fn\">is_empty</a>(&self) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.bool.html\">bool</a></h4></section></summary><div class=\"docblock\"><p>Checks if the map is empty or not.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding a mutable reference into the map.</p>\n<h5 id=\"examples-20\"><a class=\"doc-anchor\" href=\"#examples-20\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>map = DashMap::<(), ()>::new();\n<span class=\"macro\">assert!</span>(map.is_empty());</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.clear\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.clear\" class=\"fn\">clear</a>(&self)</h4></section></summary><div class=\"docblock\"><p>Removes all key-value pairs in the map.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding any sort of reference into the map.</p>\n<h5 id=\"examples-21\"><a class=\"doc-anchor\" href=\"#examples-21\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>stats = DashMap::new();\nstats.insert(<span class=\"string\">\"Goals\"</span>, <span class=\"number\">4</span>);\n<span class=\"macro\">assert!</span>(!stats.is_empty());\nstats.clear();\n<span class=\"macro\">assert!</span>(stats.is_empty());</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.capacity\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.capacity\" class=\"fn\">capacity</a>(&self) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a></h4></section></summary><div class=\"docblock\"><p>Returns how many key-value pairs the map can store without reallocating.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding a mutable reference into the map.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.alter\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.alter\" class=\"fn\">alter</a><Q>(&self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>, f: impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnOnce.html\" title=\"trait core::ops::function::FnOnce\">FnOnce</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&K</a>, V) -> V)<div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class=\"docblock\"><p>Modify a specific value according to a function.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding any sort of reference into the map.</p>\n<h5 id=\"examples-22\"><a class=\"doc-anchor\" href=\"#examples-22\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>stats = DashMap::new();\nstats.insert(<span class=\"string\">\"Goals\"</span>, <span class=\"number\">4</span>);\nstats.alter(<span class=\"string\">\"Goals\"</span>, |<span class=\"kw\">_</span>, v| v * <span class=\"number\">2</span>);\n<span class=\"macro\">assert_eq!</span>(<span class=\"kw-2\">*</span>stats.get(<span class=\"string\">\"Goals\"</span>).unwrap(), <span class=\"number\">8</span>);</code></pre></div><h5 id=\"panics\"><a class=\"doc-anchor\" href=\"#panics\">§</a>Panics</h5>\n<p>If the given closure panics, then <code>alter</code> will abort the process</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.alter_all\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.alter_all\" class=\"fn\">alter_all</a>(&self, f: impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnMut.html\" title=\"trait core::ops::function::FnMut\">FnMut</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&K</a>, V) -> V)</h4></section></summary><div class=\"docblock\"><p>Modify every value in the map according to a function.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding any sort of reference into the map.</p>\n<h5 id=\"examples-23\"><a class=\"doc-anchor\" href=\"#examples-23\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>stats = DashMap::new();\nstats.insert(<span class=\"string\">\"Wins\"</span>, <span class=\"number\">4</span>);\nstats.insert(<span class=\"string\">\"Losses\"</span>, <span class=\"number\">2</span>);\nstats.alter_all(|<span class=\"kw\">_</span>, v| v + <span class=\"number\">1</span>);\n<span class=\"macro\">assert_eq!</span>(<span class=\"kw-2\">*</span>stats.get(<span class=\"string\">\"Wins\"</span>).unwrap(), <span class=\"number\">5</span>);\n<span class=\"macro\">assert_eq!</span>(<span class=\"kw-2\">*</span>stats.get(<span class=\"string\">\"Losses\"</span>).unwrap(), <span class=\"number\">3</span>);</code></pre></div><h5 id=\"panics-1\"><a class=\"doc-anchor\" href=\"#panics-1\">§</a>Panics</h5>\n<p>If the given closure panics, then <code>alter_all</code> will abort the process</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.view\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.view\" class=\"fn\">view</a><Q, R>(&self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>, f: impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnOnce.html\" title=\"trait core::ops::function::FnOnce\">FnOnce</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&K</a>, <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&V</a>) -> R) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><R><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class=\"docblock\"><p>Scoped access into an item of the map according to a function.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding any sort of reference into the map.</p>\n<h5 id=\"examples-24\"><a class=\"doc-anchor\" href=\"#examples-24\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>warehouse = DashMap::new();\nwarehouse.insert(<span class=\"number\">4267</span>, (<span class=\"string\">\"Banana\"</span>, <span class=\"number\">100</span>));\nwarehouse.insert(<span class=\"number\">2359</span>, (<span class=\"string\">\"Pear\"</span>, <span class=\"number\">120</span>));\n<span class=\"kw\">let </span>fruit = warehouse.view(<span class=\"kw-2\">&</span><span class=\"number\">4267</span>, |_k, v| <span class=\"kw-2\">*</span>v);\n<span class=\"macro\">assert_eq!</span>(fruit, <span class=\"prelude-val\">Some</span>((<span class=\"string\">\"Banana\"</span>, <span class=\"number\">100</span>)));</code></pre></div><h5 id=\"panics-2\"><a class=\"doc-anchor\" href=\"#panics-2\">§</a>Panics</h5>\n<p>If the given closure panics, then <code>view</code> will abort the process</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.contains_key\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.contains_key\" class=\"fn\">contains_key</a><Q>(&self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.bool.html\">bool</a><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class=\"docblock\"><p>Checks if the map contains a specific key.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding a mutable reference into the map.</p>\n<h5 id=\"examples-25\"><a class=\"doc-anchor\" href=\"#examples-25\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>dashmap::DashMap;\n\n<span class=\"kw\">let </span>team_sizes = DashMap::new();\nteam_sizes.insert(<span class=\"string\">\"Dakota Cherries\"</span>, <span class=\"number\">23</span>);\n<span class=\"macro\">assert!</span>(team_sizes.contains_key(<span class=\"string\">\"Dakota Cherries\"</span>));</code></pre></div></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.entry\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.entry\" class=\"fn\">entry</a>(&'a self, key: K) -> Entry<'a, K, V></h4></section></summary><div class=\"docblock\"><p>Advanced entry API that tries to mimic <code>std::collections::HashMap</code>.\nSee the documentation on <code>dashmap::mapref::entry</code> for more details.</p>\n<p><strong>Locking behaviour:</strong> May deadlock if called when holding any sort of reference into the map.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.try_entry\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.try_entry\" class=\"fn\">try_entry</a>(&'a self, key: K) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><Entry<'a, K, V>></h4></section></summary><div class=\"docblock\"><p>Advanced entry API that tries to mimic <code>std::collections::HashMap</code>.\nSee the documentation on <code>dashmap::mapref::entry</code> for more details.</p>\n<p>Returns None if the shard is currently locked.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.try_reserve\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"#method.try_reserve\" class=\"fn\">try_reserve</a>(&mut self, additional: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a>) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html\" title=\"enum core::result::Result\">Result</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.unit.html\">()</a>, TryReserveError></h4></section></summary><div class=\"docblock\"><p>Advanced entry API that tries to mimic <code>std::collections::HashMap::try_reserve</code>.\nTries to reserve capacity for at least <code>shard * additional</code>\nand may reserve more space to avoid frequent reallocations.</p>\n<h5 id=\"errors\"><a class=\"doc-anchor\" href=\"#errors\">§</a>Errors</h5>\n<p>If the capacity overflows, or the allocator reports a failure, then an error is returned.</p>\n</div></details></div></details>",0,"intern::intern::InternMap","intern::intern_slice::InternMap","intern::symbol::Map"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Debug-for-DashMap%3CK,+V,+S%3E\" class=\"impl\"><a href=\"#impl-Debug-for-DashMap%3CK,+V,+S%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl<K, V, S> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/fmt/trait.Debug.html\" title=\"trait core::fmt::Debug\">Debug</a> for DashMap<K, V, S><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/fmt/trait.Debug.html\" title=\"trait core::fmt::Debug\">Debug</a>,\n V: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/fmt/trait.Debug.html\" title=\"trait core::fmt::Debug\">Debug</a>,\n S: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.BuildHasher.html\" title=\"trait core::hash::BuildHasher\">BuildHasher</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a>,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.fmt\" class=\"method trait-impl\"><a href=\"#method.fmt\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/1.93.1/core/fmt/trait.Debug.html#tymethod.fmt\" class=\"fn\">fmt</a>(&self, f: &mut <a class=\"struct\" href=\"https://doc.rust-lang.org/1.93.1/core/fmt/struct.Formatter.html\" title=\"struct core::fmt::Formatter\">Formatter</a><'_>) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html\" title=\"enum core::result::Result\">Result</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.unit.html\">()</a>, <a class=\"struct\" href=\"https://doc.rust-lang.org/1.93.1/core/fmt/struct.Error.html\" title=\"struct core::fmt::Error\">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href=\"https://doc.rust-lang.org/1.93.1/core/fmt/trait.Debug.html#tymethod.fmt\">Read more</a></div></details></div></details>","Debug","intern::intern::InternMap","intern::intern_slice::InternMap","intern::symbol::Map"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Default-for-DashMap%3CK,+V,+S%3E\" class=\"impl\"><a href=\"#impl-Default-for-DashMap%3CK,+V,+S%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl<K, V, S> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for DashMap<K, V, S><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a>,\n S: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.BuildHasher.html\" title=\"trait core::hash::BuildHasher\">BuildHasher</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a>,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.default\" class=\"method trait-impl\"><a href=\"#method.default\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/1.93.1/core/default/trait.Default.html#tymethod.default\" class=\"fn\">default</a>() -> DashMap<K, V, S></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href=\"https://doc.rust-lang.org/1.93.1/core/default/trait.Default.html#tymethod.default\">Read more</a></div></details></div></details>","Default","intern::intern::InternMap","intern::intern_slice::InternMap","intern::symbol::Map"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Extend%3C(K,+V)%3E-for-DashMap%3CK,+V,+S%3E\" class=\"impl\"><a href=\"#impl-Extend%3C(K,+V)%3E-for-DashMap%3CK,+V,+S%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl<K, V, S> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.Extend.html\" title=\"trait core::iter::traits::collect::Extend\">Extend</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html\">(K, V)</a>> for DashMap<K, V, S><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a>,\n S: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.BuildHasher.html\" title=\"trait core::hash::BuildHasher\">BuildHasher</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a>,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.extend\" class=\"method trait-impl\"><a href=\"#method.extend\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.Extend.html#tymethod.extend\" class=\"fn\">extend</a><I>(&mut self, intoiter: I)<div class=\"where\">where\n I: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html\" title=\"trait core::iter::traits::collect::IntoIterator\">IntoIterator</a><Item = <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html\">(K, V)</a>>,</div></h4></section></summary><div class='docblock'>Extends a collection with the contents of an iterator. <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.Extend.html#tymethod.extend\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.extend_one\" class=\"method trait-impl\"><a class=\"src rightside\" href=\"https://doc.rust-lang.org/1.93.1/src/core/iter/traits/collect.rs.html#417\">Source</a><a href=\"#method.extend_one\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.Extend.html#method.extend_one\" class=\"fn\">extend_one</a>(&mut self, item: A)</h4></section></summary><span class=\"item-info\"><div class=\"stab unstable\"><span class=\"emoji\">🔬</span><span>This is a nightly-only experimental API. (<code>extend_one</code>)</span></div></span><div class='docblock'>Extends a collection with exactly one element.</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.extend_reserve\" class=\"method trait-impl\"><a class=\"src rightside\" href=\"https://doc.rust-lang.org/1.93.1/src/core/iter/traits/collect.rs.html#425\">Source</a><a href=\"#method.extend_reserve\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.Extend.html#method.extend_reserve\" class=\"fn\">extend_reserve</a>(&mut self, additional: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a>)</h4></section></summary><span class=\"item-info\"><div class=\"stab unstable\"><span class=\"emoji\">🔬</span><span>This is a nightly-only experimental API. (<code>extend_one</code>)</span></div></span><div class='docblock'>Reserves capacity in a collection for the given number of additional elements. <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.Extend.html#method.extend_reserve\">Read more</a></div></details></div></details>","Extend<(K, V)>","intern::intern::InternMap","intern::intern_slice::InternMap","intern::symbol::Map"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-FromIterator%3C(K,+V)%3E-for-DashMap%3CK,+V,+S%3E\" class=\"impl\"><a href=\"#impl-FromIterator%3C(K,+V)%3E-for-DashMap%3CK,+V,+S%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl<K, V, S> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.FromIterator.html\" title=\"trait core::iter::traits::collect::FromIterator\">FromIterator</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html\">(K, V)</a>> for DashMap<K, V, S><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a>,\n S: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.BuildHasher.html\" title=\"trait core::hash::BuildHasher\">BuildHasher</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a>,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from_iter\" class=\"method trait-impl\"><a href=\"#method.from_iter\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter\" class=\"fn\">from_iter</a><I>(intoiter: I) -> DashMap<K, V, S><div class=\"where\">where\n I: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html\" title=\"trait core::iter::traits::collect::IntoIterator\">IntoIterator</a><Item = <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html\">(K, V)</a>>,</div></h4></section></summary><div class='docblock'>Creates a value from an iterator. <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter\">Read more</a></div></details></div></details>","FromIterator<(K, V)>","intern::intern::InternMap","intern::intern_slice::InternMap","intern::symbol::Map"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-IntoIterator-for-DashMap%3CK,+V,+S%3E\" class=\"impl\"><a href=\"#impl-IntoIterator-for-DashMap%3CK,+V,+S%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl<K, V, S> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html\" title=\"trait core::iter::traits::collect::IntoIterator\">IntoIterator</a> for DashMap<K, V, S><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a>,\n S: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.BuildHasher.html\" title=\"trait core::hash::BuildHasher\">BuildHasher</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a>,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle\" open><summary><section id=\"associatedtype.Item\" class=\"associatedtype trait-impl\"><a href=\"#associatedtype.Item\" class=\"anchor\">§</a><h4 class=\"code-header\">type <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item\" class=\"associatedtype\">Item</a> = <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html\">(K, V)</a></h4></section></summary><div class='docblock'>The type of the elements being iterated over.</div></details><details class=\"toggle\" open><summary><section id=\"associatedtype.IntoIter\" class=\"associatedtype trait-impl\"><a href=\"#associatedtype.IntoIter\" class=\"anchor\">§</a><h4 class=\"code-header\">type <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter\" class=\"associatedtype\">IntoIter</a> = OwningIter<K, V, S></h4></section></summary><div class='docblock'>Which kind of iterator are we turning this into?</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.into_iter\" class=\"method trait-impl\"><a href=\"#method.into_iter\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter\" class=\"fn\">into_iter</a>(self) -> <DashMap<K, V, S> as <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html\" title=\"trait core::iter::traits::collect::IntoIterator\">IntoIterator</a>>::<a class=\"associatedtype\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter\" title=\"type core::iter::traits::collect::IntoIterator::IntoIter\">IntoIter</a></h4></section></summary><div class='docblock'>Creates an iterator from a value. <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter\">Read more</a></div></details></div></details>","IntoIterator","intern::intern::InternMap","intern::intern_slice::InternMap","intern::symbol::Map"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Map%3C'a,+K,+V,+S%3E-for-DashMap%3CK,+V,+S%3E\" class=\"impl\"><a href=\"#impl-Map%3C'a,+K,+V,+S%3E-for-DashMap%3CK,+V,+S%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl<'a, K, V, S> Map<'a, K, V, S> for DashMap<K, V, S><div class=\"where\">where\n K: 'a + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a>,\n V: 'a,\n S: 'a + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.BuildHasher.html\" title=\"trait core::hash::BuildHasher\">BuildHasher</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a>,</div></h3></section></summary><div class=\"impl-items\"><section id=\"method._shard_count\" class=\"method trait-impl\"><a href=\"#method._shard_count\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_shard_count</a>(&self) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a></h4></section><details class=\"toggle method-toggle\" open><summary><section id=\"method._get_read_shard\" class=\"method trait-impl\"><a href=\"#method._get_read_shard\" class=\"anchor\">§</a><h4 class=\"code-header\">unsafe fn <a class=\"fn\">_get_read_shard</a>(\n &'a self,\n i: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a>,\n) -> &'a RawTable<(K, SharedValue<V>)></h4></section></summary><div class='docblock'>Safety <a>Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method._yield_read_shard\" class=\"method trait-impl\"><a href=\"#method._yield_read_shard\" class=\"anchor\">§</a><h4 class=\"code-header\">unsafe fn <a class=\"fn\">_yield_read_shard</a>(\n &'a self,\n i: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a>,\n) -> RwLockReadGuard<'a, RawRwLock, RawTable<(K, SharedValue<V>)>></h4></section></summary><div class='docblock'>Safety <a>Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method._yield_write_shard\" class=\"method trait-impl\"><a href=\"#method._yield_write_shard\" class=\"anchor\">§</a><h4 class=\"code-header\">unsafe fn <a class=\"fn\">_yield_write_shard</a>(\n &'a self,\n i: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a>,\n) -> RwLockWriteGuard<'a, RawRwLock, RawTable<(K, SharedValue<V>)>></h4></section></summary><div class='docblock'>Safety <a>Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method._try_yield_read_shard\" class=\"method trait-impl\"><a href=\"#method._try_yield_read_shard\" class=\"anchor\">§</a><h4 class=\"code-header\">unsafe fn <a class=\"fn\">_try_yield_read_shard</a>(\n &'a self,\n i: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a>,\n) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><RwLockReadGuard<'a, RawRwLock, RawTable<(K, SharedValue<V>)>>></h4></section></summary><div class='docblock'>Safety <a>Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method._try_yield_write_shard\" class=\"method trait-impl\"><a href=\"#method._try_yield_write_shard\" class=\"anchor\">§</a><h4 class=\"code-header\">unsafe fn <a class=\"fn\">_try_yield_write_shard</a>(\n &'a self,\n i: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a>,\n) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><RwLockWriteGuard<'a, RawRwLock, RawTable<(K, SharedValue<V>)>>></h4></section></summary><div class='docblock'>Safety <a>Read more</a></div></details><section id=\"method._insert\" class=\"method trait-impl\"><a href=\"#method._insert\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_insert</a>(&self, key: K, value: V) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><V></h4></section><section id=\"method._remove\" class=\"method trait-impl\"><a href=\"#method._remove\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_remove</a><Q>(&self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html\">(K, V)</a>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section><section id=\"method._remove_if\" class=\"method trait-impl\"><a href=\"#method._remove_if\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_remove_if</a><Q>(\n &self,\n key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>,\n f: impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnOnce.html\" title=\"trait core::ops::function::FnOnce\">FnOnce</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&K</a>, <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&V</a>) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.bool.html\">bool</a>,\n) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html\">(K, V)</a>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section><section id=\"method._remove_if_mut\" class=\"method trait-impl\"><a href=\"#method._remove_if_mut\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_remove_if_mut</a><Q>(\n &self,\n key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>,\n f: impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnOnce.html\" title=\"trait core::ops::function::FnOnce\">FnOnce</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&K</a>, <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&mut V</a>) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.bool.html\">bool</a>,\n) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html\">(K, V)</a>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section><section id=\"method._iter\" class=\"method trait-impl\"><a href=\"#method._iter\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_iter</a>(&'a self) -> Iter<'a, K, V, S></h4></section><section id=\"method._iter_mut\" class=\"method trait-impl\"><a href=\"#method._iter_mut\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_iter_mut</a>(&'a self) -> IterMut<'a, K, V, S></h4></section><section id=\"method._get\" class=\"method trait-impl\"><a href=\"#method._get\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_get</a><Q>(&'a self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><Ref<'a, K, V>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section><section id=\"method._get_mut\" class=\"method trait-impl\"><a href=\"#method._get_mut\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_get_mut</a><Q>(&'a self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><RefMut<'a, K, V>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section><section id=\"method._try_get\" class=\"method trait-impl\"><a href=\"#method._try_get\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_try_get</a><Q>(&'a self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> TryResult<Ref<'a, K, V>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section><section id=\"method._try_get_mut\" class=\"method trait-impl\"><a href=\"#method._try_get_mut\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_try_get_mut</a><Q>(&'a self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> TryResult<RefMut<'a, K, V>><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section><section id=\"method._shrink_to_fit\" class=\"method trait-impl\"><a href=\"#method._shrink_to_fit\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_shrink_to_fit</a>(&self)</h4></section><section id=\"method._retain\" class=\"method trait-impl\"><a href=\"#method._retain\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_retain</a>(&self, f: impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnMut.html\" title=\"trait core::ops::function::FnMut\">FnMut</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&K</a>, <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&mut V</a>) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.bool.html\">bool</a>)</h4></section><section id=\"method._len\" class=\"method trait-impl\"><a href=\"#method._len\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_len</a>(&self) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a></h4></section><section id=\"method._capacity\" class=\"method trait-impl\"><a href=\"#method._capacity\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_capacity</a>(&self) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.usize.html\">usize</a></h4></section><section id=\"method._alter\" class=\"method trait-impl\"><a href=\"#method._alter\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_alter</a><Q>(&self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>, f: impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnOnce.html\" title=\"trait core::ops::function::FnOnce\">FnOnce</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&K</a>, V) -> V)<div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section><section id=\"method._alter_all\" class=\"method trait-impl\"><a href=\"#method._alter_all\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_alter_all</a>(&self, f: impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnMut.html\" title=\"trait core::ops::function::FnMut\">FnMut</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&K</a>, V) -> V)</h4></section><section id=\"method._view\" class=\"method trait-impl\"><a href=\"#method._view\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_view</a><Q, R>(&self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>, f: impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/ops/function/trait.FnOnce.html\" title=\"trait core::ops::function::FnOnce\">FnOnce</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&K</a>, <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&V</a>) -> R) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><R><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section><section id=\"method._entry\" class=\"method trait-impl\"><a href=\"#method._entry\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_entry</a>(&'a self, key: K) -> Entry<'a, K, V></h4></section><section id=\"method._try_entry\" class=\"method trait-impl\"><a href=\"#method._try_entry\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_try_entry</a>(&'a self, key: K) -> <a class=\"enum\" href=\"https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a><Entry<'a, K, V>></h4></section><section id=\"method._hasher\" class=\"method trait-impl\"><a href=\"#method._hasher\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_hasher</a>(&self) -> S</h4></section><section id=\"method._clear\" class=\"method trait-impl\"><a href=\"#method._clear\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_clear</a>(&self)</h4></section><section id=\"method._contains_key\" class=\"method trait-impl\"><a href=\"#method._contains_key\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_contains_key</a><Q>(&'a self, key: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.reference.html\">&Q</a>) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.bool.html\">bool</a><div class=\"where\">where\n K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html\" title=\"trait core::borrow::Borrow\">Borrow</a><Q>,\n Q: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section><section id=\"method._is_empty\" class=\"method trait-impl\"><a href=\"#method._is_empty\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">_is_empty</a>(&self) -> <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.93.1/std/primitive.bool.html\">bool</a></h4></section></div></details>","Map<'a, K, V, S>","intern::intern::InternMap","intern::intern_slice::InternMap","intern::symbol::Map"]]]]);
|
||
if (window.register_type_impls) {
|
||
window.register_type_impls(type_impls);
|
||
} else {
|
||
window.pending_type_impls = type_impls;
|
||
}
|
||
})()
|
||
//{"start":55,"fragment_lengths":[88492]}
|