85 lines
71 KiB
HTML
85 lines
71 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="The data for a 256-bit AVX register of eight `f32` lanes."><title>m256 in safe_arch - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="safe_arch" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../safe_arch/index.html">safe_<wbr>arch</a><span class="version">0.7.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">m256</a></h2><h3><a href="#fields">Tuple Fields</a></h3><ul class="block structfield"><li><a href="#structfield.0" title="0">0</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.from_array" title="from_array">from_array</a></li><li><a href="#method.from_bits" title="from_bits">from_bits</a></li><li><a href="#method.to_array" title="to_array">to_array</a></li><li><a href="#method.to_bits" title="to_bits">to_bits</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Binary-for-m256" title="Binary">Binary</a></li><li><a href="#impl-Clone-for-m256" title="Clone">Clone</a></li><li><a href="#impl-Copy-for-m256" title="Copy">Copy</a></li><li><a href="#impl-Debug-for-m256" title="Debug">Debug</a></li><li><a href="#impl-Default-for-m256" title="Default">Default</a></li><li><a href="#impl-Display-for-m256" title="Display">Display</a></li><li><a href="#impl-From%3C%5Bf32;+8%5D%3E-for-m256" title="From<[f32; 8]>">From<[f32; 8]></a></li><li><a href="#impl-From%3Cm256%3E-for-%5Bf32;+8%5D" title="From<m256>">From<m256></a></li><li><a href="#impl-LowerExp-for-m256" title="LowerExp">LowerExp</a></li><li><a href="#impl-LowerHex-for-m256" title="LowerHex">LowerHex</a></li><li><a href="#impl-Octal-for-m256" title="Octal">Octal</a></li><li><a href="#impl-Pod-for-m256" title="Pod">Pod</a></li><li><a href="#impl-TransparentWrapper%3C__m256%3E-for-m256" title="TransparentWrapper<__m256>">TransparentWrapper<__m256></a></li><li><a href="#impl-UpperExp-for-m256" title="UpperExp">UpperExp</a></li><li><a href="#impl-UpperHex-for-m256" title="UpperHex">UpperHex</a></li><li><a href="#impl-Zeroable-for-m256" title="Zeroable">Zeroable</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-m256" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-m256" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-m256" title="Send">Send</a></li><li><a href="#impl-Sync-for-m256" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-m256" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-m256" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-AnyBitPattern-for-T" title="AnyBitPattern">AnyBitPattern</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-CheckedBitPattern-for-T" title="CheckedBitPattern">CheckedBitPattern</a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-NoUninit-for-T" title="NoUninit">NoUninit</a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-ToString-for-T" title="ToString">ToString</a></li><li><a href="#impl-TransparentWrapperAlloc%3CI%3E-for-T" title="TransparentWrapperAlloc<I>">TransparentWrapperAlloc<I></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate safe_<wbr>arch</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">safe_arch</a></span><h1>Struct <span class="struct">m256</span><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/safe_arch/x86_x64/m256_.rs.html#16">Source</a> </span></div><pre class="rust item-decl"><code><div class="code-attribute">#[repr(transparent)]</div>pub struct m256(pub <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/core_arch/x86/struct.__m256.html" title="struct core::core_arch::x86::__m256">__m256</a>);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The data for a 256-bit AVX register of eight <code>f32</code> lanes.</p>
|
||
<ul>
|
||
<li>This is <em>very similar to</em> having <code>[f32; 8]</code>. The main difference is that
|
||
it’s aligned to 32 instead of just 4, and of course you can perform
|
||
various intrinsic operations on it.</li>
|
||
</ul>
|
||
</div></details><h2 id="fields" class="fields section-header">Tuple Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.0" class="structfield section-header"><a href="#structfield.0" class="anchor field">§</a><code>0: <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/core_arch/x86/struct.__m256.html" title="struct core::core_arch::x86::__m256">__m256</a></code></span><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#25-62">Source</a><a href="#impl-m256" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_array" class="method"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#31-33">Source</a><h4 class="code-header">pub fn <a href="#method.to_array" class="fn">to_array</a>(self) -> [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">8</a>]</h4></section></summary><div class="docblock"><p>Transmutes the <code>m256</code> to an array.</p>
|
||
<p>Same as <code>m.into()</code>, just lets you be more explicit about what’s happening.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_array" class="method"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#41-43">Source</a><h4 class="code-header">pub fn <a href="#method.from_array" class="fn">from_array</a>(f: [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">8</a>]) -> Self</h4></section></summary><div class="docblock"><p>Transmutes an array into <code>m256</code>.</p>
|
||
<p>Same as <code>m256::from(arr)</code>, it just lets you be more explicit about what’s
|
||
happening.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_bits" class="method"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#50-52">Source</a><h4 class="code-header">pub fn <a href="#method.to_bits" class="fn">to_bits</a>(self) -> [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">8</a>]</h4></section></summary><div class="docblock"><p>Converts into the bit patterns of these floats (<code>[u32;8]</code>).</p>
|
||
<p>Like <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html#method.to_bits" title="method f32::to_bits"><code>f32::to_bits</code></a>, but all eight lanes at once.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_bits" class="method"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#59-61">Source</a><h4 class="code-header">pub fn <a href="#method.from_bits" class="fn">from_bits</a>(bits: [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">8</a>]) -> Self</h4></section></summary><div class="docblock"><p>Converts from the bit patterns of these floats (<code>[u32;8]</code>).</p>
|
||
<p>Like <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html#method.from_bits" title="associated function f32::from_bits"><code>f32::from_bits</code></a>, but all eight lanes at once.</p>
|
||
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Binary-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#143-160">Source</a><a href="#impl-Binary-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Binary.html" title="trait core::fmt::Binary">Binary</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-2" class="method trait-impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#150-159">Source</a><a href="#method.fmt-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Binary.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class="docblock"><p>Binary formats each float’s bit pattern (via <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html#method.to_bits" title="method f32::to_bits"><code>f32::to_bits</code></a>).</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>f = <span class="macro">format!</span>(<span class="string">"{:b}"</span>, m256::default());
|
||
<span class="macro">assert_eq!</span>(<span class="kw-2">&</span>f, <span class="string">"(0, 0, 0, 0, 0, 0, 0, 0)"</span>);</code></pre></div>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#64-70">Source</a><a href="#impl-Clone-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#67-69">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> Self</h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.84.0/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.84.0/src/core/clone.rs.html#174">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/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.84.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#105-122">Source</a><a href="#impl-Debug-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#112-121">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class="docblock"><p>Debug formats each float.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>f = <span class="macro">format!</span>(<span class="string">"{:?}"</span>, m256::default());
|
||
<span class="macro">assert_eq!</span>(<span class="kw-2">&</span>f, <span class="string">"m256(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)"</span>);</code></pre></div>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#73-79">Source</a><a href="#impl-Default-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#76-78">Source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -> Self</h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.84.0/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#124-141">Source</a><a href="#impl-Display-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#131-140">Source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class="docblock"><p>Display formats each float, and leaves the type name off of the font.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>f = <span class="macro">format!</span>(<span class="string">"{}"</span>, m256::default());
|
||
<span class="macro">assert_eq!</span>(<span class="kw-2">&</span>f, <span class="string">"(0, 0, 0, 0, 0, 0, 0, 0)"</span>);</code></pre></div>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%5Bf32;+8%5D%3E-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#81-90">Source</a><a href="#impl-From%3C%5Bf32;+8%5D%3E-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">8</a>]> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#84-89">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(arr: [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">8</a>]) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cm256%3E-for-%5Bf32;+8%5D" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#92-99">Source</a><a href="#impl-From%3Cm256%3E-for-%5Bf32;+8%5D" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a>> for [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">8</a>]</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#95-98">Source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(m: <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LowerExp-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#162-179">Source</a><a href="#impl-LowerExp-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.LowerExp.html" title="trait core::fmt::LowerExp">LowerExp</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-3" class="method trait-impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#169-178">Source</a><a href="#method.fmt-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.LowerExp.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class="docblock"><p>LowerExp formats each float.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>f = <span class="macro">format!</span>(<span class="string">"{:e}"</span>, m256::default());
|
||
<span class="macro">assert_eq!</span>(<span class="kw-2">&</span>f, <span class="string">"(0e0, 0e0, 0e0, 0e0, 0e0, 0e0, 0e0, 0e0)"</span>);</code></pre></div>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LowerHex-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#200-217">Source</a><a href="#impl-LowerHex-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.LowerHex.html" title="trait core::fmt::LowerHex">LowerHex</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-5" class="method trait-impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#207-216">Source</a><a href="#method.fmt-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.LowerHex.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class="docblock"><p>LowerHex formats each float’s bit pattern (via <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html#method.to_bits" title="method f32::to_bits"><code>f32::to_bits</code></a>).</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>f = <span class="macro">format!</span>(<span class="string">"{:x}"</span>, m256::default());
|
||
<span class="macro">assert_eq!</span>(<span class="kw-2">&</span>f, <span class="string">"(0, 0, 0, 0, 0, 0, 0, 0)"</span>);</code></pre></div>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Octal-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#238-255">Source</a><a href="#impl-Octal-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Octal.html" title="trait core::fmt::Octal">Octal</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-7" class="method trait-impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#245-254">Source</a><a href="#method.fmt-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Octal.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class="docblock"><p>Octal formats each float’s bit pattern (via <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html#method.to_bits" title="method f32::to_bits"><code>f32::to_bits</code></a>).</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>f = <span class="macro">format!</span>(<span class="string">"{:o}"</span>, m256::default());
|
||
<span class="macro">assert_eq!</span>(<span class="kw-2">&</span>f, <span class="string">"(0, 0, 0, 0, 0, 0, 0, 0)"</span>);</code></pre></div>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TransparentWrapper%3C__m256%3E-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#23">Source</a><a href="#impl-TransparentWrapper%3C__m256%3E-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../bytemuck/transparent/trait.TransparentWrapper.html" title="trait bytemuck::transparent::TransparentWrapper">TransparentWrapper</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/core/core_arch/x86/struct.__m256.html" title="struct core::core_arch::x86::__m256">__m256</a>> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrap" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#127-130">Source</a><a href="#method.wrap" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap" class="fn">wrap</a>(s: Inner) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert the inner type into the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_ref" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#142">Source</a><a href="#method.wrap_ref" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_ref" class="fn">wrap_ref</a>(s: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Inner</a>) -> &Self</h4></section></summary><div class='docblock'>Convert a reference to the inner type into a reference to the wrapper
|
||
type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_mut" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#165">Source</a><a href="#method.wrap_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_mut" class="fn">wrap_mut</a>(s: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut Inner</a>) -> &mut Self</h4></section></summary><div class='docblock'>Convert a mutable reference to the inner type into a mutable reference to
|
||
the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_slice" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#186-189">Source</a><a href="#method.wrap_slice" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_slice" class="fn">wrap_slice</a>(s: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a>) -> &[Self]<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a slice to the inner type into a slice to the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_slice_mut" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#201-204">Source</a><a href="#method.wrap_slice_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_slice_mut" class="fn">wrap_slice_mut</a>(s: &mut <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a>) -> &mut [Self]<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a mutable slice to the inner type into a mutable slice to the
|
||
wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#217-220">Source</a><a href="#method.peel" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel" class="fn">peel</a>(s: Self) -> Inner<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert the wrapper type into the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_ref" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#232">Source</a><a href="#method.peel_ref" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_ref" class="fn">peel_ref</a>(s: &Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Inner</a></h4></section></summary><div class='docblock'>Convert a reference to the wrapper type into a reference to the inner
|
||
type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_mut" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#254">Source</a><a href="#method.peel_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_mut" class="fn">peel_mut</a>(s: &mut Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut Inner</a></h4></section></summary><div class='docblock'>Convert a mutable reference to the wrapper type into a mutable reference
|
||
to the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_slice" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#275-278">Source</a><a href="#method.peel_slice" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_slice" class="fn">peel_slice</a>(s: &[Self]) -> &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a slice to the wrapped type into a slice to the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_slice_mut" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#290-293">Source</a><a href="#method.peel_slice_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_slice_mut" class="fn">peel_slice_mut</a>(s: &mut [Self]) -> &mut <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a mutable slice to the wrapped type into a mutable slice to the
|
||
inner type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UpperExp-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#181-198">Source</a><a href="#impl-UpperExp-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.UpperExp.html" title="trait core::fmt::UpperExp">UpperExp</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-4" class="method trait-impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#188-197">Source</a><a href="#method.fmt-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.UpperExp.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class="docblock"><p>UpperExp formats each float.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>f = <span class="macro">format!</span>(<span class="string">"{:E}"</span>, m256::default());
|
||
<span class="macro">assert_eq!</span>(<span class="kw-2">&</span>f, <span class="string">"(0E0, 0E0, 0E0, 0E0, 0E0, 0E0, 0E0, 0E0)"</span>);</code></pre></div>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UpperHex-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#219-236">Source</a><a href="#impl-UpperHex-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.UpperHex.html" title="trait core::fmt::UpperHex">UpperHex</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-6" class="method trait-impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#226-235">Source</a><a href="#method.fmt-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.UpperHex.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class="docblock"><p>UpperHex formats each float’s bit pattern (via <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html#method.to_bits" title="method f32::to_bits"><code>f32::to_bits</code></a>).</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>f = <span class="macro">format!</span>(<span class="string">"{:X}"</span>, m256::default());
|
||
<span class="macro">assert_eq!</span>(<span class="kw-2">&</span>f, <span class="string">"(0, 0, 0, 0, 0, 0, 0, 0)"</span>);</code></pre></div>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Zeroable-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#19">Source</a><a href="#impl-Zeroable-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../bytemuck/zeroable/trait.Zeroable.html" title="trait bytemuck::zeroable::Zeroable">Zeroable</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.zeroed" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/zeroable.rs.html#32">Source</a><a href="#method.zeroed" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/zeroable/trait.Zeroable.html#method.zeroed" class="fn">zeroed</a>() -> Self</h4></section></summary><div class='docblock'>Calls <a href="https://doc.rust-lang.org/1.84.0/core/mem/fn.zeroed.html" title="fn core::mem::zeroed"><code>zeroed</code></a>. <a href="../bytemuck/zeroable/trait.Zeroable.html#method.zeroed">Read more</a></div></details></div></details><section id="impl-Copy-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#71">Source</a><a href="#impl-Copy-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section><section id="impl-Pod-for-m256" class="impl"><a class="src rightside" href="../src/safe_arch/x86_x64/m256_.rs.html#21">Source</a><a href="#impl-Pod-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../bytemuck/pod/trait.Pod.html" title="trait bytemuck::pod::Pod">Pod</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-m256" class="impl"><a href="#impl-Freeze-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section><section id="impl-RefUnwindSafe-for-m256" class="impl"><a href="#impl-RefUnwindSafe-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section><section id="impl-Send-for-m256" class="impl"><a href="#impl-Send-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section><section id="impl-Sync-for-m256" class="impl"><a href="#impl-Sync-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section><section id="impl-Unpin-for-m256" class="impl"><a href="#impl-Unpin-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section><section id="impl-UnwindSafe-for-m256" class="impl"><a href="#impl-UnwindSafe-for-m256" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.m256.html" title="struct safe_arch::m256">m256</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CheckedBitPattern-for-T" class="impl"><a class="src rightside" href="../src/bytemuck/checked.rs.html#143">Source</a><a href="#impl-CheckedBitPattern-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bytemuck/checked/trait.CheckedBitPattern.html" title="trait bytemuck::checked::CheckedBitPattern">CheckedBitPattern</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bytemuck/anybitpattern/trait.AnyBitPattern.html" title="trait bytemuck::anybitpattern::AnyBitPattern">AnyBitPattern</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Bits" class="associatedtype trait-impl"><a class="src rightside" href="../src/bytemuck/checked.rs.html#144">Source</a><a href="#associatedtype.Bits" class="anchor">§</a><h4 class="code-header">type <a href="../bytemuck/checked/trait.CheckedBitPattern.html#associatedtype.Bits" class="associatedtype">Bits</a> = T</h4></section></summary><div class='docblock'><code>Self</code> <em>must</em> have the same layout as the specified <code>Bits</code> except for
|
||
the possible invalid bit patterns being checked during
|
||
<a href="../bytemuck/checked/trait.CheckedBitPattern.html#tymethod.is_valid_bit_pattern" title="associated function bytemuck::checked::CheckedBitPattern::is_valid_bit_pattern"><code>is_valid_bit_pattern</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_valid_bit_pattern" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/checked.rs.html#147">Source</a><a href="#method.is_valid_bit_pattern" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/checked/trait.CheckedBitPattern.html#tymethod.is_valid_bit_pattern" class="fn">is_valid_bit_pattern</a>(_bits: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&T</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>If this function returns true, then it must be valid to reinterpret <code>bits</code>
|
||
as <code>&Self</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#273">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/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_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#275">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&self, dst: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</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>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dst</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#765">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#768">Source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#748-750">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#758">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||
<p>That is, this conversion is whatever the implementation of
|
||
<code><a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#82-84">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/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.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#86">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#87">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#91">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToString-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/string.rs.html#2677">Source</a><a href="#impl-ToString-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_string" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/string.rs.html#2683">Source</a><a href="#method.to_string" class="anchor">§</a><h4 class="code-header">default fn <a href="https://doc.rust-lang.org/1.84.0/alloc/string/trait.ToString.html#tymethod.to_string" class="fn">to_string</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class='docblock'>Converts the given value to a <code>String</code>. <a href="https://doc.rust-lang.org/1.84.0/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TransparentWrapperAlloc%3CI%3E-for-T" class="impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#772-773">Source</a><a href="#impl-TransparentWrapperAlloc%3CI%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<I, T> <a class="trait" href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html" title="trait bytemuck::allocation::TransparentWrapperAlloc">TransparentWrapperAlloc</a><I> for T<div class="where">where
|
||
T: <a class="trait" href="../bytemuck/transparent/trait.TransparentWrapper.html" title="trait bytemuck::transparent::TransparentWrapper">TransparentWrapper</a><I> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
I: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrap_vec" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#566-569">Source</a><a href="#method.wrap_vec" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.wrap_vec" class="fn">wrap_vec</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Inner>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a vec of the inner type into a vec of the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_box" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#589">Source</a><a href="#method.wrap_box" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.wrap_box" class="fn">wrap_box</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Inner>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self></h4></section></summary><div class='docblock'>Convert a box to the inner type into a box to the wrapper
|
||
type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_rc" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#617">Source</a><a href="#method.wrap_rc" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.wrap_rc" class="fn">wrap_rc</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><Inner>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><Self></h4></section></summary><div class='docblock'>Convert an <a href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc"><code>Rc</code></a> to the inner type into an <code>Rc</code> to the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_arc" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#644">Source</a><a href="#method.wrap_arc" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.wrap_arc" class="fn">wrap_arc</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Inner>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self></h4></section></summary><div class='docblock'>Convert an <a href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc"><code>Arc</code></a> to the inner type into an <code>Arc</code> to the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_vec" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#669-672">Source</a><a href="#method.peel_vec" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.peel_vec" class="fn">peel_vec</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Inner><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a vec of the wrapper type into a vec of the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_box" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#692">Source</a><a href="#method.peel_box" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.peel_box" class="fn">peel_box</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Inner></h4></section></summary><div class='docblock'>Convert a box to the wrapper type into a box to the inner
|
||
type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_rc" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#720">Source</a><a href="#method.peel_rc" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.peel_rc" class="fn">peel_rc</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><Inner></h4></section></summary><div class='docblock'>Convert an <a href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc"><code>Rc</code></a> to the wrapper type into an <code>Rc</code> to the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_arc" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#747">Source</a><a href="#method.peel_arc" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.peel_arc" class="fn">peel_arc</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Inner></h4></section></summary><div class='docblock'>Convert an <a href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc"><code>Arc</code></a> to the wrapper type into an <code>Arc</code> to the inner type.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#805-807">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#809">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#812">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#790-792">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#794">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#797">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><section id="impl-AnyBitPattern-for-T" class="impl"><a class="src rightside" href="../src/bytemuck/anybitpattern.rs.html#56">Source</a><a href="#impl-AnyBitPattern-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bytemuck/anybitpattern/trait.AnyBitPattern.html" title="trait bytemuck::anybitpattern::AnyBitPattern">AnyBitPattern</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bytemuck/pod/trait.Pod.html" title="trait bytemuck::pod::Pod">Pod</a>,</div></h3></section><section id="impl-NoUninit-for-T" class="impl"><a class="src rightside" href="../src/bytemuck/no_uninit.rs.html#63">Source</a><a href="#impl-NoUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bytemuck/no_uninit/trait.NoUninit.html" title="trait bytemuck::no_uninit::NoUninit">NoUninit</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bytemuck/pod/trait.Pod.html" title="trait bytemuck::pod::Pod">Pod</a>,</div></h3></section></div></section></div></main></body></html> |