Files
GopherGate/target/doc/crossbeam_utils/atomic/trait.AtomicConsume.html
2026-02-26 12:00:21 -05:00

20 lines
27 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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="Trait which allows reading from primitive atomic types with “consume” ordering."><title>AtomicConsume in crossbeam_utils::atomic - 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="crossbeam_utils" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" 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="#">AtomicConsume</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../crossbeam_utils/index.html">crossbeam_<wbr>utils</a><span class="version">0.8.21</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Atomic<wbr>Consume</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Val" title="Val">Val</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.load_consume" title="load_consume">load_consume</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-AtomicConsume-for-AtomicBool" title="AtomicBool">AtomicBool</a></li><li><a href="#impl-AtomicConsume-for-AtomicI8" title="AtomicI8">AtomicI8</a></li><li><a href="#impl-AtomicConsume-for-AtomicI16" title="AtomicI16">AtomicI16</a></li><li><a href="#impl-AtomicConsume-for-AtomicI32" title="AtomicI32">AtomicI32</a></li><li><a href="#impl-AtomicConsume-for-AtomicI64" title="AtomicI64">AtomicI64</a></li><li><a href="#impl-AtomicConsume-for-AtomicIsize" title="AtomicIsize">AtomicIsize</a></li><li><a href="#impl-AtomicConsume-for-AtomicPtr%3CT%3E" title="AtomicPtr&#60;T&#62;">AtomicPtr&#60;T&#62;</a></li><li><a href="#impl-AtomicConsume-for-AtomicU8" title="AtomicU8">AtomicU8</a></li><li><a href="#impl-AtomicConsume-for-AtomicU16" title="AtomicU16">AtomicU16</a></li><li><a href="#impl-AtomicConsume-for-AtomicU32" title="AtomicU32">AtomicU32</a></li><li><a href="#impl-AtomicConsume-for-AtomicU64" title="AtomicU64">AtomicU64</a></li><li><a href="#impl-AtomicConsume-for-AtomicUsize" title="AtomicUsize">AtomicUsize</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In crossbeam_<wbr>utils::<wbr>atomic</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">crossbeam_utils</a>::<wbr><a href="index.html">atomic</a></div><h1>Trait <span class="trait">Atomic<wbr>Consume</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/crossbeam_utils/atomic/consume.rs.html#5-25">Source</a> </span></div><pre class="rust item-decl"><code>pub trait AtomicConsume {
type <a href="#associatedtype.Val" class="associatedtype">Val</a>;
// Required method
fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a>;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait which allows reading from primitive atomic types with “consume” ordering.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Val" class="method"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#7">Source</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a></h4></section></summary><div class="docblock"><p>Type returned by <code>load_consume</code>.</p>
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.load_consume" class="method"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#24">Source</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></summary><div class="docblock"><p>Loads a value from the atomic using a “consume” memory ordering.</p>
<p>This is similar to the “acquire” ordering, except that an ordering is
only guaranteed with operations that “depend on” the result of the load.
However consume loads are usually much faster than acquire loads on
architectures with a weak memory model since they dont require memory
fence instructions.</p>
<p>The exact definition of “depend on” is a bit vague, but it works as you
would expect in practice since a lot of software, especially the Linux
kernel, rely on this behavior.</p>
<p>This is currently only implemented on ARM and AArch64, where a fence
can be avoided. On other architectures this will fall back to a simple
<code>load(Ordering::Acquire)</code>.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-AtomicConsume-for-AtomicBool" class="impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#79">Source</a><a href="#impl-AtomicConsume-for-AtomicBool" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume">AtomicConsume</a> for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/sync/atomic/struct.AtomicBool.html" title="struct core::sync::atomic::AtomicBool">AtomicBool</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>crossbeam_no_atomic</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Val-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#79">Source</a><a href="#associatedtype.Val-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a> = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section><section id="method.load_consume" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#79">Source</a><a href="#method.load_consume" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AtomicConsume-for-AtomicI8" class="impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#83">Source</a><a href="#impl-AtomicConsume-for-AtomicI8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume">AtomicConsume</a> for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/sync/atomic/struct.AtomicI8.html" title="struct core::sync::atomic::AtomicI8">AtomicI8</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>crossbeam_no_atomic</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Val-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#83">Source</a><a href="#associatedtype.Val-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a> = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.i8.html">i8</a></h4></section><section id="method.load_consume-1" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#83">Source</a><a href="#method.load_consume-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AtomicConsume-for-AtomicI16" class="impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#85">Source</a><a href="#impl-AtomicConsume-for-AtomicI16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume">AtomicConsume</a> for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/sync/atomic/struct.AtomicI16.html" title="struct core::sync::atomic::AtomicI16">AtomicI16</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>crossbeam_no_atomic</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Val-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#85">Source</a><a href="#associatedtype.Val-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a> = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.i16.html">i16</a></h4></section><section id="method.load_consume-2" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#85">Source</a><a href="#method.load_consume-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AtomicConsume-for-AtomicI32" class="impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#89">Source</a><a href="#impl-AtomicConsume-for-AtomicI32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume">AtomicConsume</a> for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/sync/atomic/struct.AtomicI32.html" title="struct core::sync::atomic::AtomicI32">AtomicI32</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>crossbeam_no_atomic</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Val-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#89">Source</a><a href="#associatedtype.Val-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a> = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.i32.html">i32</a></h4></section><section id="method.load_consume-3" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#89">Source</a><a href="#method.load_consume-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AtomicConsume-for-AtomicI64" class="impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#99">Source</a><a href="#impl-AtomicConsume-for-AtomicI64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume">AtomicConsume</a> for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/sync/atomic/struct.AtomicI64.html" title="struct core::sync::atomic::AtomicI64">AtomicI64</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>crossbeam_no_atomic</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Val-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#99">Source</a><a href="#associatedtype.Val-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a> = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.i64.html">i64</a></h4></section><section id="method.load_consume-4" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#99">Source</a><a href="#method.load_consume-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AtomicConsume-for-AtomicIsize" class="impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#81">Source</a><a href="#impl-AtomicConsume-for-AtomicIsize" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume">AtomicConsume</a> for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/sync/atomic/struct.AtomicIsize.html" title="struct core::sync::atomic::AtomicIsize">AtomicIsize</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>crossbeam_no_atomic</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Val-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#81">Source</a><a href="#associatedtype.Val-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a> = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.isize.html">isize</a></h4></section><section id="method.load_consume-5" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#81">Source</a><a href="#method.load_consume-5" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AtomicConsume-for-AtomicU8" class="impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#82">Source</a><a href="#impl-AtomicConsume-for-AtomicU8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume">AtomicConsume</a> for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/sync/atomic/struct.AtomicU8.html" title="struct core::sync::atomic::AtomicU8">AtomicU8</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>crossbeam_no_atomic</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Val-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#82">Source</a><a href="#associatedtype.Val-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a> = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a></h4></section><section id="method.load_consume-6" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#82">Source</a><a href="#method.load_consume-6" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AtomicConsume-for-AtomicU16" class="impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#84">Source</a><a href="#impl-AtomicConsume-for-AtomicU16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume">AtomicConsume</a> for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/sync/atomic/struct.AtomicU16.html" title="struct core::sync::atomic::AtomicU16">AtomicU16</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>crossbeam_no_atomic</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Val-8" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#84">Source</a><a href="#associatedtype.Val-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a> = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u16.html">u16</a></h4></section><section id="method.load_consume-7" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#84">Source</a><a href="#method.load_consume-7" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AtomicConsume-for-AtomicU32" class="impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#87">Source</a><a href="#impl-AtomicConsume-for-AtomicU32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume">AtomicConsume</a> for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/sync/atomic/struct.AtomicU32.html" title="struct core::sync::atomic::AtomicU32">AtomicU32</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>crossbeam_no_atomic</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Val-9" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#87">Source</a><a href="#associatedtype.Val-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a> = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a></h4></section><section id="method.load_consume-8" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#87">Source</a><a href="#method.load_consume-8" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AtomicConsume-for-AtomicU64" class="impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#94">Source</a><a href="#impl-AtomicConsume-for-AtomicU64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume">AtomicConsume</a> for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/sync/atomic/struct.AtomicU64.html" title="struct core::sync::atomic::AtomicU64">AtomicU64</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>crossbeam_no_atomic</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Val-10" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#94">Source</a><a href="#associatedtype.Val-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a> = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u64.html">u64</a></h4></section><section id="method.load_consume-9" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#94">Source</a><a href="#method.load_consume-9" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AtomicConsume-for-AtomicUsize" class="impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#80">Source</a><a href="#impl-AtomicConsume-for-AtomicUsize" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume">AtomicConsume</a> for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/sync/atomic/struct.AtomicUsize.html" title="struct core::sync::atomic::AtomicUsize">AtomicUsize</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>crossbeam_no_atomic</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Val-11" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#80">Source</a><a href="#associatedtype.Val-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a> = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.usize.html">usize</a></h4></section><section id="method.load_consume-10" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#80">Source</a><a href="#method.load_consume-10" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AtomicConsume-for-AtomicPtr%3CT%3E" class="impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#102-105">Source</a><a href="#impl-AtomicConsume-for-AtomicPtr%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume">AtomicConsume</a> for <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/sync/atomic/struct.AtomicPtr.html" title="struct core::sync::atomic::AtomicPtr">AtomicPtr</a>&lt;T&gt;</h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>crossbeam_no_atomic</code></strong> only.</div></span></section></summary><div class="impl-items"><section id="associatedtype.Val-12" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#103">Source</a><a href="#associatedtype.Val-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Val" class="associatedtype">Val</a> = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.pointer.html">*mut T</a></h4></section><section id="method.load_consume-11" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_utils/atomic/consume.rs.html#104">Source</a><a href="#method.load_consume-11" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.load_consume" class="fn">load_consume</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.AtomicConsume.html#associatedtype.Val" title="type crossbeam_utils::atomic::AtomicConsume::Val">Val</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/crossbeam_utils/atomic/consume/trait.AtomicConsume.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html>