Files
zclaw_openfang/target/doc/dashmap/trait.Map.html
iven 1c697d0b46
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
chore: 清理临时管理目录并更新文档索引
删除 admin-temp-dir 目录及其内容
更新文档索引以包含 dashmap 相关文件
2026-04-03 00:42:48 +08:00

135 lines
50 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Implementation detail that is exposed due to generic constraints in public types."><title>Map in dashmap - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="dashmap" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Map</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../dashmap/index.html">dashmap</a><span class="version">6.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Map</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod._alter" title="_alter">_alter</a></li><li><a href="#tymethod._alter_all" title="_alter_all">_alter_all</a></li><li><a href="#tymethod._capacity" title="_capacity">_capacity</a></li><li><a href="#tymethod._entry" title="_entry">_entry</a></li><li><a href="#tymethod._get" title="_get">_get</a></li><li><a href="#tymethod._get_mut" title="_get_mut">_get_mut</a></li><li><a href="#tymethod._get_read_shard" title="_get_read_shard">_get_read_shard</a></li><li><a href="#tymethod._hasher" title="_hasher">_hasher</a></li><li><a href="#tymethod._insert" title="_insert">_insert</a></li><li><a href="#tymethod._iter" title="_iter">_iter</a></li><li><a href="#tymethod._iter_mut" title="_iter_mut">_iter_mut</a></li><li><a href="#tymethod._len" title="_len">_len</a></li><li><a href="#tymethod._remove" title="_remove">_remove</a></li><li><a href="#tymethod._remove_if" title="_remove_if">_remove_if</a></li><li><a href="#tymethod._remove_if_mut" title="_remove_if_mut">_remove_if_mut</a></li><li><a href="#tymethod._retain" title="_retain">_retain</a></li><li><a href="#tymethod._shard_count" title="_shard_count">_shard_count</a></li><li><a href="#tymethod._shrink_to_fit" title="_shrink_to_fit">_shrink_to_fit</a></li><li><a href="#tymethod._try_entry" title="_try_entry">_try_entry</a></li><li><a href="#tymethod._try_get" title="_try_get">_try_get</a></li><li><a href="#tymethod._try_get_mut" title="_try_get_mut">_try_get_mut</a></li><li><a href="#tymethod._try_yield_read_shard" title="_try_yield_read_shard">_try_yield_read_shard</a></li><li><a href="#tymethod._try_yield_write_shard" title="_try_yield_write_shard">_try_yield_write_shard</a></li><li><a href="#tymethod._view" title="_view">_view</a></li><li><a href="#tymethod._yield_read_shard" title="_yield_read_shard">_yield_read_shard</a></li><li><a href="#tymethod._yield_write_shard" title="_yield_write_shard">_yield_write_shard</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method._clear" title="_clear">_clear</a></li><li><a href="#method._contains_key" title="_contains_key">_contains_key</a></li><li><a href="#method._is_empty" title="_is_empty">_is_empty</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate dashmap</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="index.html">dashmap</a></div><h1>Trait <span class="trait">Map</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/dashmap/t.rs.html#13-134">Source</a> </span></div><pre class="rust item-decl"><code>pub trait Map&lt;'a, 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>, V: 'a, S: '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/hash/trait.BuildHasher.html" title="trait core::hash::BuildHasher">BuildHasher</a>&gt; {
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 29 methods</span></summary> // Required methods
fn <a href="#tymethod._shard_count" class="fn">_shard_count</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>;
<span class="item-spacer"></span> unsafe fn <a href="#tymethod._get_read_shard" class="fn">_get_read_shard</a>(
&amp;'a self,
i: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
) -&gt; &amp;'a RawTable&lt;(K, SharedValue&lt;V&gt;)&gt;;
<span class="item-spacer"></span> unsafe fn <a href="#tymethod._yield_read_shard" class="fn">_yield_read_shard</a>(
&amp;'a self,
i: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
) -&gt; RwLockReadGuard&lt;'a, RawRwLock, RawTable&lt;(K, SharedValue&lt;V&gt;)&gt;&gt;;
<span class="item-spacer"></span> unsafe fn <a href="#tymethod._yield_write_shard" class="fn">_yield_write_shard</a>(
&amp;'a self,
i: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
) -&gt; RwLockWriteGuard&lt;'a, RawRwLock, RawTable&lt;(K, SharedValue&lt;V&gt;)&gt;&gt;;
<span class="item-spacer"></span> unsafe fn <a href="#tymethod._try_yield_read_shard" class="fn">_try_yield_read_shard</a>(
&amp;'a self,
i: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;RwLockReadGuard&lt;'a, RawRwLock, RawTable&lt;(K, SharedValue&lt;V&gt;)&gt;&gt;&gt;;
<span class="item-spacer"></span> unsafe fn <a href="#tymethod._try_yield_write_shard" class="fn">_try_yield_write_shard</a>(
&amp;'a self,
i: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;RwLockWriteGuard&lt;'a, RawRwLock, RawTable&lt;(K, SharedValue&lt;V&gt;)&gt;&gt;&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod._insert" class="fn">_insert</a>(&amp;self, key: K, value: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;V&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod._remove" class="fn">_remove</a>&lt;Q&gt;(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Q</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(K, V)</a>&gt;
<span class="where">where 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>&lt;Q&gt;,
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></span>;
<span class="item-spacer"></span> fn <a href="#tymethod._remove_if" class="fn">_remove_if</a>&lt;Q&gt;(
&amp;self,
key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;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">&amp;K</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;V</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(K, V)</a>&gt;
<span class="where">where 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>&lt;Q&gt;,
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></span>;
<span class="item-spacer"></span> fn <a href="#tymethod._remove_if_mut" class="fn">_remove_if_mut</a>&lt;Q&gt;(
&amp;self,
key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;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">&amp;K</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;mut V</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(K, V)</a>&gt;
<span class="where">where 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>&lt;Q&gt;,
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></span>;
<span class="item-spacer"></span> fn <a href="#tymethod._iter" class="fn">_iter</a>(&amp;'a self) -&gt; <a class="struct" href="iter/struct.Iter.html" title="struct dashmap::iter::Iter">Iter</a>&lt;'a, K, V, S, Self&gt; <a href="#" class="tooltip" data-notable-ty="Iter&lt;&#39;a, K, V, S, Self&gt;"></a>
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
<span class="item-spacer"></span> fn <a href="#tymethod._iter_mut" class="fn">_iter_mut</a>(&amp;'a self) -&gt; <a class="struct" href="iter/struct.IterMut.html" title="struct dashmap::iter::IterMut">IterMut</a>&lt;'a, K, V, S, Self&gt; <a href="#" class="tooltip" data-notable-ty="IterMut&lt;&#39;a, K, V, S, Self&gt;"></a>
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
<span class="item-spacer"></span> fn <a href="#tymethod._get" class="fn">_get</a>&lt;Q&gt;(&amp;'a self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Q</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="mapref/one/struct.Ref.html" title="struct dashmap::mapref::one::Ref">Ref</a>&lt;'a, K, V&gt;&gt;
<span class="where">where 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>&lt;Q&gt;,
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></span>;
<span class="item-spacer"></span> fn <a href="#tymethod._get_mut" class="fn">_get_mut</a>&lt;Q&gt;(&amp;'a self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Q</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="mapref/one/struct.RefMut.html" title="struct dashmap::mapref::one::RefMut">RefMut</a>&lt;'a, K, V&gt;&gt;
<span class="where">where 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>&lt;Q&gt;,
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></span>;
<span class="item-spacer"></span> fn <a href="#tymethod._try_get" class="fn">_try_get</a>&lt;Q&gt;(&amp;'a self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Q</a>) -&gt; <a class="enum" href="try_result/enum.TryResult.html" title="enum dashmap::try_result::TryResult">TryResult</a>&lt;<a class="struct" href="mapref/one/struct.Ref.html" title="struct dashmap::mapref::one::Ref">Ref</a>&lt;'a, K, V&gt;&gt;
<span class="where">where 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>&lt;Q&gt;,
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></span>;
<span class="item-spacer"></span> fn <a href="#tymethod._try_get_mut" class="fn">_try_get_mut</a>&lt;Q&gt;(&amp;'a self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Q</a>) -&gt; <a class="enum" href="try_result/enum.TryResult.html" title="enum dashmap::try_result::TryResult">TryResult</a>&lt;<a class="struct" href="mapref/one/struct.RefMut.html" title="struct dashmap::mapref::one::RefMut">RefMut</a>&lt;'a, K, V&gt;&gt;
<span class="where">where 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>&lt;Q&gt;,
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></span>;
<span class="item-spacer"></span> fn <a href="#tymethod._shrink_to_fit" class="fn">_shrink_to_fit</a>(&amp;self);
<span class="item-spacer"></span> fn <a href="#tymethod._retain" class="fn">_retain</a>(&amp;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">&amp;K</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;mut V</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a>);
<span class="item-spacer"></span> fn <a href="#tymethod._len" class="fn">_len</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>;
<span class="item-spacer"></span> fn <a href="#tymethod._capacity" class="fn">_capacity</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>;
<span class="item-spacer"></span> fn <a href="#tymethod._alter" class="fn">_alter</a>&lt;Q&gt;(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;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">&amp;K</a>, V) -&gt; V)
<span class="where">where 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>&lt;Q&gt;,
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></span>;
<span class="item-spacer"></span> fn <a href="#tymethod._alter_all" class="fn">_alter_all</a>(&amp;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">&amp;K</a>, V) -&gt; V);
<span class="item-spacer"></span> fn <a href="#tymethod._view" class="fn">_view</a>&lt;Q, R&gt;(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;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">&amp;K</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;V</a>) -&gt; R) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;R&gt;
<span class="where">where 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>&lt;Q&gt;,
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></span>;
<span class="item-spacer"></span> fn <a href="#tymethod._entry" class="fn">_entry</a>(&amp;'a self, key: K) -&gt; <a class="enum" href="mapref/entry/enum.Entry.html" title="enum dashmap::mapref::entry::Entry">Entry</a>&lt;'a, K, V&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod._try_entry" class="fn">_try_entry</a>(&amp;'a self, key: K) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="mapref/entry/enum.Entry.html" title="enum dashmap::mapref::entry::Entry">Entry</a>&lt;'a, K, V&gt;&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod._hasher" class="fn">_hasher</a>(&amp;self) -&gt; S;
// Provided methods
fn <a href="#method._clear" class="fn">_clear</a>(&amp;self) { ... }
<span class="item-spacer"></span> fn <a href="#method._contains_key" class="fn">_contains_key</a>&lt;Q&gt;(&amp;'a self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Q</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a>
<span class="where">where 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>&lt;Q&gt;,
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></span> { ... }
<span class="item-spacer"></span> fn <a href="#method._is_empty" class="fn">_is_empty</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a> { ... }
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Implementation detail that is exposed due to generic constraints in public types.</p>
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod._shard_count" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#14">Source</a><h4 class="code-header">fn <a href="#tymethod._shard_count" class="fn">_shard_count</a>(&amp;self) -&gt; <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="tymethod._get_read_shard" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#19">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod._get_read_shard" class="fn">_get_read_shard</a>(
&amp;'a self,
i: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
) -&gt; &amp;'a RawTable&lt;(K, SharedValue&lt;V&gt;)&gt;</h4></section></summary><div class="docblock"><h5 id="safety"><a class="doc-anchor" href="#safety">§</a>Safety</h5>
<p>The index must not be out of bounds.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod._yield_read_shard" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#24">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod._yield_read_shard" class="fn">_yield_read_shard</a>(
&amp;'a self,
i: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
) -&gt; RwLockReadGuard&lt;'a, RawRwLock, RawTable&lt;(K, SharedValue&lt;V&gt;)&gt;&gt;</h4></section></summary><div class="docblock"><h5 id="safety-1"><a class="doc-anchor" href="#safety-1">§</a>Safety</h5>
<p>The index must not be out of bounds.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod._yield_write_shard" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#29">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod._yield_write_shard" class="fn">_yield_write_shard</a>(
&amp;'a self,
i: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
) -&gt; RwLockWriteGuard&lt;'a, RawRwLock, RawTable&lt;(K, SharedValue&lt;V&gt;)&gt;&gt;</h4></section></summary><div class="docblock"><h5 id="safety-2"><a class="doc-anchor" href="#safety-2">§</a>Safety</h5>
<p>The index must not be out of bounds.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod._try_yield_read_shard" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#34-37">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod._try_yield_read_shard" class="fn">_try_yield_read_shard</a>(
&amp;'a self,
i: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;RwLockReadGuard&lt;'a, RawRwLock, RawTable&lt;(K, SharedValue&lt;V&gt;)&gt;&gt;&gt;</h4></section></summary><div class="docblock"><h5 id="safety-3"><a class="doc-anchor" href="#safety-3">§</a>Safety</h5>
<p>The index must not be out of bounds.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod._try_yield_write_shard" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#42-45">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod._try_yield_write_shard" class="fn">_try_yield_write_shard</a>(
&amp;'a self,
i: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;RwLockWriteGuard&lt;'a, RawRwLock, RawTable&lt;(K, SharedValue&lt;V&gt;)&gt;&gt;&gt;</h4></section></summary><div class="docblock"><h5 id="safety-4"><a class="doc-anchor" href="#safety-4">§</a>Safety</h5>
<p>The index must not be out of bounds.</p>
</div></details><section id="tymethod._insert" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#47">Source</a><h4 class="code-header">fn <a href="#tymethod._insert" class="fn">_insert</a>(&amp;self, key: K, value: V) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;V&gt;</h4></section><section id="tymethod._remove" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#49-52">Source</a><h4 class="code-header">fn <a href="#tymethod._remove" class="fn">_remove</a>&lt;Q&gt;(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Q</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(K, V)</a>&gt;<div class="where">where
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>&lt;Q&gt;,
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="tymethod._remove_if" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#54-57">Source</a><h4 class="code-header">fn <a href="#tymethod._remove_if" class="fn">_remove_if</a>&lt;Q&gt;(
&amp;self,
key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;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">&amp;K</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;V</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(K, V)</a>&gt;<div class="where">where
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>&lt;Q&gt;,
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="tymethod._remove_if_mut" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#59-62">Source</a><h4 class="code-header">fn <a href="#tymethod._remove_if_mut" class="fn">_remove_if_mut</a>&lt;Q&gt;(
&amp;self,
key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;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">&amp;K</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;mut V</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(K, V)</a>&gt;<div class="where">where
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>&lt;Q&gt;,
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="tymethod._iter" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#64-66">Source</a><h4 class="code-header">fn <a href="#tymethod._iter" class="fn">_iter</a>(&amp;'a self) -&gt; <a class="struct" href="iter/struct.Iter.html" title="struct dashmap::iter::Iter">Iter</a>&lt;'a, K, V, S, Self&gt; <a href="#" class="tooltip" data-notable-ty="Iter&lt;&#39;a, K, V, S, Self&gt;"></a><div class="where">where
Self: <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="tymethod._iter_mut" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#68-70">Source</a><h4 class="code-header">fn <a href="#tymethod._iter_mut" class="fn">_iter_mut</a>(&amp;'a self) -&gt; <a class="struct" href="iter/struct.IterMut.html" title="struct dashmap::iter::IterMut">IterMut</a>&lt;'a, K, V, S, Self&gt; <a href="#" class="tooltip" data-notable-ty="IterMut&lt;&#39;a, K, V, S, Self&gt;"></a><div class="where">where
Self: <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="tymethod._get" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#72-75">Source</a><h4 class="code-header">fn <a href="#tymethod._get" class="fn">_get</a>&lt;Q&gt;(&amp;'a self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Q</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="mapref/one/struct.Ref.html" title="struct dashmap::mapref::one::Ref">Ref</a>&lt;'a, K, V&gt;&gt;<div class="where">where
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>&lt;Q&gt;,
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="tymethod._get_mut" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#77-80">Source</a><h4 class="code-header">fn <a href="#tymethod._get_mut" class="fn">_get_mut</a>&lt;Q&gt;(&amp;'a self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Q</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="mapref/one/struct.RefMut.html" title="struct dashmap::mapref::one::RefMut">RefMut</a>&lt;'a, K, V&gt;&gt;<div class="where">where
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>&lt;Q&gt;,
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="tymethod._try_get" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#82-85">Source</a><h4 class="code-header">fn <a href="#tymethod._try_get" class="fn">_try_get</a>&lt;Q&gt;(&amp;'a self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Q</a>) -&gt; <a class="enum" href="try_result/enum.TryResult.html" title="enum dashmap::try_result::TryResult">TryResult</a>&lt;<a class="struct" href="mapref/one/struct.Ref.html" title="struct dashmap::mapref::one::Ref">Ref</a>&lt;'a, K, V&gt;&gt;<div class="where">where
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>&lt;Q&gt;,
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="tymethod._try_get_mut" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#87-90">Source</a><h4 class="code-header">fn <a href="#tymethod._try_get_mut" class="fn">_try_get_mut</a>&lt;Q&gt;(&amp;'a self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Q</a>) -&gt; <a class="enum" href="try_result/enum.TryResult.html" title="enum dashmap::try_result::TryResult">TryResult</a>&lt;<a class="struct" href="mapref/one/struct.RefMut.html" title="struct dashmap::mapref::one::RefMut">RefMut</a>&lt;'a, K, V&gt;&gt;<div class="where">where
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>&lt;Q&gt;,
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="tymethod._shrink_to_fit" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#92">Source</a><h4 class="code-header">fn <a href="#tymethod._shrink_to_fit" class="fn">_shrink_to_fit</a>(&amp;self)</h4></section><section id="tymethod._retain" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#94">Source</a><h4 class="code-header">fn <a href="#tymethod._retain" class="fn">_retain</a>(&amp;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">&amp;K</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;mut V</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a>)</h4></section><section id="tymethod._len" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#96">Source</a><h4 class="code-header">fn <a href="#tymethod._len" class="fn">_len</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a></h4></section><section id="tymethod._capacity" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#98">Source</a><h4 class="code-header">fn <a href="#tymethod._capacity" class="fn">_capacity</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a></h4></section><section id="tymethod._alter" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#100-103">Source</a><h4 class="code-header">fn <a href="#tymethod._alter" class="fn">_alter</a>&lt;Q&gt;(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;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">&amp;K</a>, V) -&gt; V)<div class="where">where
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>&lt;Q&gt;,
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="tymethod._alter_all" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#105">Source</a><h4 class="code-header">fn <a href="#tymethod._alter_all" class="fn">_alter_all</a>(&amp;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">&amp;K</a>, V) -&gt; V)</h4></section><section id="tymethod._view" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#107-110">Source</a><h4 class="code-header">fn <a href="#tymethod._view" class="fn">_view</a>&lt;Q, R&gt;(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;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">&amp;K</a>, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;V</a>) -&gt; R) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;R&gt;<div class="where">where
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>&lt;Q&gt;,
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="tymethod._entry" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#112">Source</a><h4 class="code-header">fn <a href="#tymethod._entry" class="fn">_entry</a>(&amp;'a self, key: K) -&gt; <a class="enum" href="mapref/entry/enum.Entry.html" title="enum dashmap::mapref::entry::Entry">Entry</a>&lt;'a, K, V&gt;</h4></section><section id="tymethod._try_entry" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#114">Source</a><h4 class="code-header">fn <a href="#tymethod._try_entry" class="fn">_try_entry</a>(&amp;'a self, key: K) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="mapref/entry/enum.Entry.html" title="enum dashmap::mapref::entry::Entry">Entry</a>&lt;'a, K, V&gt;&gt;</h4></section><section id="tymethod._hasher" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#116">Source</a><h4 class="code-header">fn <a href="#tymethod._hasher" class="fn">_hasher</a>(&amp;self) -&gt; S</h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method._clear" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#119-121">Source</a><h4 class="code-header">fn <a href="#method._clear" class="fn">_clear</a>(&amp;self)</h4></section><section id="method._contains_key" class="method"><a class="src rightside" href="../src/dashmap/t.rs.html#123-129">Source</a><h4 class="code-header">fn <a href="#method._contains_key" class="fn">_contains_key</a>&lt;Q&gt;(&amp;'a self, key: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;Q</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a><div class="where">where
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>&lt;Q&gt;,
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"><a class="src rightside" href="../src/dashmap/t.rs.html#131-133">Source</a><h4 class="code-header">fn <a href="#method._is_empty" class="fn">_is_empty</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.93.1/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Map%3C'a,+K,+V,+S%3E-for-DashMap%3CK,+V,+S%3E" class="impl"><a class="src rightside" href="../src/dashmap/lib.rs.html#906-1237">Source</a><a href="#impl-Map%3C'a,+K,+V,+S%3E-for-DashMap%3CK,+V,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 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>, V: 'a, 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>&gt; <a class="trait" href="trait.Map.html" title="trait dashmap::Map">Map</a>&lt;'a, K, V, S&gt; for <a class="struct" href="struct.DashMap.html" title="struct dashmap::DashMap">DashMap</a>&lt;K, V, S&gt;</h3></section></div><script src="../trait.impl/dashmap/t/trait.Map.js" async></script><script type="text/json" id="notable-traits-data">{"Iter<'a, K, V, S, Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"iter/struct.Iter.html\" title=\"struct dashmap::iter::Iter\">Iter</a>&lt;'a, K, V, S, M&gt;</code></h3><pre><code><div class=\"where\">impl&lt;'a, 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>, V, 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>, M: <a class=\"trait\" href=\"trait.Map.html\" title=\"trait dashmap::Map\">Map</a>&lt;'a, K, V, S&gt;&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"iter/struct.Iter.html\" title=\"struct dashmap::iter::Iter\">Iter</a>&lt;'a, K, V, S, M&gt;</div><div class=\"where\"> type <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item\" class=\"associatedtype\">Item</a> = <a class=\"struct\" href=\"mapref/multiple/struct.RefMulti.html\" title=\"struct dashmap::mapref::multiple::RefMulti\">RefMulti</a>&lt;'a, K, V&gt;;</div>","IterMut<'a, K, V, S, Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"iter/struct.IterMut.html\" title=\"struct dashmap::iter::IterMut\">IterMut</a>&lt;'a, K, V, S, M&gt;</code></h3><pre><code><div class=\"where\">impl&lt;'a, 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>, V, 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>, M: <a class=\"trait\" href=\"trait.Map.html\" title=\"trait dashmap::Map\">Map</a>&lt;'a, K, V, S&gt;&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"iter/struct.IterMut.html\" title=\"struct dashmap::iter::IterMut\">IterMut</a>&lt;'a, K, V, S, M&gt;</div><div class=\"where\"> type <a href=\"https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item\" class=\"associatedtype\">Item</a> = <a class=\"struct\" href=\"mapref/multiple/struct.RefMutMulti.html\" title=\"struct dashmap::mapref::multiple::RefMutMulti\">RefMutMulti</a>&lt;'a, K, V&gt;;</div>"}</script></section></div></main></body></html>