blob: 45d65f67d02c252e3e292a517d9ac90c88f02abb [file] [log] [blame]
<!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 for types that can be safely created with `zeroed`."><meta name="keywords" content="rust, rustlang, rust-lang, Zeroable"><title>Zeroable in bytemuck - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../normalize.css"><link rel="stylesheet" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../ayu.css" disabled><link rel="stylesheet" href="../dark.css" disabled><link rel="stylesheet" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.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]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../bytemuck/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../bytemuck/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Zeroable</a></h2><div class="sidebar-elems"><section><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.zeroed">zeroed</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Zeroable-for-()">()</a></li><li><a href="#impl-Zeroable-for-(A%2C%20B)">(A, B)</a></li><li><a href="#impl-Zeroable-for-(A%2C%20B%2C%20C)">(A, B, C)</a></li><li><a href="#impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D)">(A, B, C, D)</a></li><li><a href="#impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D%2C%20E)">(A, B, C, D, E)</a></li><li><a href="#impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F)">(A, B, C, D, E, F)</a></li><li><a href="#impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G)">(A, B, C, D, E, F, G)</a></li><li><a href="#impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H)">(A, B, C, D, E, F, G, H)</a></li><li><a href="#impl-Zeroable-for-(A%2C)">(A,)</a></li><li><a href="#impl-Zeroable-for-*const%20T">*const T</a></li><li><a href="#impl-Zeroable-for-*const%20%5BT%5D">*const [T]</a></li><li><a href="#impl-Zeroable-for-*const%20str">*const str</a></li><li><a href="#impl-Zeroable-for-*mut%20T">*mut T</a></li><li><a href="#impl-Zeroable-for-*mut%20%5BT%5D">*mut [T]</a></li><li><a href="#impl-Zeroable-for-*mut%20str">*mut str</a></li><li><a href="#impl-Zeroable-for-Cell%3CT%3E">Cell&lt;T&gt;</a></li><li><a href="#impl-Zeroable-for-ManuallyDrop%3CT%3E">ManuallyDrop&lt;T&gt;</a></li><li><a href="#impl-Zeroable-for-Option%3CT%3E">Option&lt;T&gt;</a></li><li><a href="#impl-Zeroable-for-PhantomData%3CT%3E">PhantomData&lt;T&gt;</a></li><li><a href="#impl-Zeroable-for-PhantomPinned">PhantomPinned</a></li><li><a href="#impl-Zeroable-for-Reverse%3CT%3E">Reverse&lt;T&gt;</a></li><li><a href="#impl-Zeroable-for-UnsafeCell%3CT%3E">UnsafeCell&lt;T&gt;</a></li><li><a href="#impl-Zeroable-for-Wrapping%3CT%3E">Wrapping&lt;T&gt;</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%200%5D">[T; 0]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%201024%5D">[T; 1024]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2010%5D">[T; 10]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2011%5D">[T; 11]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%20128%5D">[T; 128]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2012%5D">[T; 12]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2013%5D">[T; 13]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2014%5D">[T; 14]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2015%5D">[T; 15]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2016%5D">[T; 16]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2017%5D">[T; 17]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2018%5D">[T; 18]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2019%5D">[T; 19]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%201%5D">[T; 1]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%202048%5D">[T; 2048]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2020%5D">[T; 20]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2021%5D">[T; 21]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2022%5D">[T; 22]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2023%5D">[T; 23]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2024%5D">[T; 24]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%20256%5D">[T; 256]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2025%5D">[T; 25]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2026%5D">[T; 26]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2027%5D">[T; 27]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2028%5D">[T; 28]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2029%5D">[T; 29]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%202%5D">[T; 2]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2030%5D">[T; 30]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2031%5D">[T; 31]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2032%5D">[T; 32]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%203%5D">[T; 3]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%204096%5D">[T; 4096]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2048%5D">[T; 48]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%204%5D">[T; 4]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%20512%5D">[T; 512]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%205%5D">[T; 5]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2064%5D">[T; 64]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%206%5D">[T; 6]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%207%5D">[T; 7]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%208%5D">[T; 8]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%2096%5D">[T; 96]</a></li><li><a href="#impl-Zeroable-for-%5BT%3B%209%5D">[T; 9]</a></li><li><a href="#impl-Zeroable-for-__m128">__m128</a></li><li><a href="#impl-Zeroable-for-__m128d">__m128d</a></li><li><a href="#impl-Zeroable-for-__m128i">__m128i</a></li><li><a href="#impl-Zeroable-for-__m256">__m256</a></li><li><a href="#impl-Zeroable-for-__m256d">__m256d</a></li><li><a href="#impl-Zeroable-for-__m256i">__m256i</a></li><li><a href="#impl-Zeroable-for-bool">bool</a></li><li><a href="#impl-Zeroable-for-char">char</a></li><li><a href="#impl-Zeroable-for-f32">f32</a></li><li><a href="#impl-Zeroable-for-f64">f64</a></li><li><a href="#impl-Zeroable-for-i128">i128</a></li><li><a href="#impl-Zeroable-for-i16">i16</a></li><li><a href="#impl-Zeroable-for-i32">i32</a></li><li><a href="#impl-Zeroable-for-i64">i64</a></li><li><a href="#impl-Zeroable-for-i8">i8</a></li><li><a href="#impl-Zeroable-for-isize">isize</a></li><li><a href="#impl-Zeroable-for-u128">u128</a></li><li><a href="#impl-Zeroable-for-u16">u16</a></li><li><a href="#impl-Zeroable-for-u32">u32</a></li><li><a href="#impl-Zeroable-for-u64">u64</a></li><li><a href="#impl-Zeroable-for-u8">u8</a></li><li><a href="#impl-Zeroable-for-usize">usize</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In bytemuck</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Trait <a href="index.html">bytemuck</a>::<wbr><a class="trait" href="#">Zeroable</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/bytemuck/zeroable.rs.html#25-35">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="item-decl"><pre class="rust trait"><code>pub unsafe trait Zeroable: Sized {
fn <a href="#method.zeroed" class="fnname">zeroed</a>() -&gt; Self { ... }
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for types that can be safely created with
<a href="core::mem::zeroed"><code>zeroed</code></a>.</p>
<p>An all-zeroes value may or may not be the same value as the
<a href="core::default::Default">Default</a> value of the type.</p>
<h3 id="safety"><a href="#safety">Safety</a></h3>
<ul>
<li>Your type must be inhabited (eg: no
<a href="core::convert::Infallible">Infallible</a>).</li>
<li>Your type must be allowed to be an “all zeroes” bit pattern (eg: no
<a href="core::ptr::NonNull"><code>NonNull&lt;T&gt;</code></a>).</li>
</ul>
<h3 id="features"><a href="#features">Features</a></h3>
<p>Some <code>impl</code>s are feature gated due to the MSRV policy:</p>
<ul>
<li><code>MaybeUninit&lt;T&gt;</code> was not available in 1.34.0, but is available under the
<code>zeroable_maybe_uninit</code> feature flag.</li>
<li><code>Atomic*</code> types require Rust 1.60.0 or later to work on certain platforms, but is available
under the <code>zeroable_atomics</code> feature flag.</li>
<li><code>[T; N]</code> for arbitrary <code>N</code> requires the <code>min_const_generics</code> feature flag.</li>
</ul>
</div></details><h2 id="provided-methods" class="small-section-header">Provided Methods<a href="#provided-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.zeroed" class="method has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#32-34">source</a><h4 class="code-header">fn <a href="#method.zeroed" class="fnname">zeroed</a>() -&gt; Self</h4></section></summary><div class="docblock"><p>Calls <a href="core::mem::zeroed"><code>zeroed</code></a>.</p>
<p>This is a trait method so that you can write <code>MyType::zeroed()</code> in your
code. It is a contract of this trait that if you implement it on your type
you <strong>must not</strong> override this method.</p>
</div></details></div><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><section id="impl-Zeroable-for-()" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#36">source</a><a href="#impl-Zeroable-for-()" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for ()</h3></section><section id="impl-Zeroable-for-bool" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#37">source</a><a href="#impl-Zeroable-for-bool" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for bool</h3></section><section id="impl-Zeroable-for-char" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#38">source</a><a href="#impl-Zeroable-for-char" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for char</h3></section><section id="impl-Zeroable-for-u8" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#39">source</a><a href="#impl-Zeroable-for-u8" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for u8</h3></section><section id="impl-Zeroable-for-i8" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#40">source</a><a href="#impl-Zeroable-for-i8" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for i8</h3></section><section id="impl-Zeroable-for-u16" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#41">source</a><a href="#impl-Zeroable-for-u16" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for u16</h3></section><section id="impl-Zeroable-for-i16" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#42">source</a><a href="#impl-Zeroable-for-i16" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for i16</h3></section><section id="impl-Zeroable-for-u32" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#43">source</a><a href="#impl-Zeroable-for-u32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for u32</h3></section><section id="impl-Zeroable-for-i32" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#44">source</a><a href="#impl-Zeroable-for-i32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for i32</h3></section><section id="impl-Zeroable-for-u64" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#45">source</a><a href="#impl-Zeroable-for-u64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for u64</h3></section><section id="impl-Zeroable-for-i64" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#46">source</a><a href="#impl-Zeroable-for-i64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for i64</h3></section><section id="impl-Zeroable-for-usize" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#47">source</a><a href="#impl-Zeroable-for-usize" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for usize</h3></section><section id="impl-Zeroable-for-isize" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#48">source</a><a href="#impl-Zeroable-for-isize" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for isize</h3></section><section id="impl-Zeroable-for-u128" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#49">source</a><a href="#impl-Zeroable-for-u128" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for u128</h3></section><section id="impl-Zeroable-for-i128" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#50">source</a><a href="#impl-Zeroable-for-i128" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for i128</h3></section><section id="impl-Zeroable-for-f32" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#51">source</a><a href="#impl-Zeroable-for-f32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for f32</h3></section><section id="impl-Zeroable-for-f64" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#52">source</a><a href="#impl-Zeroable-for-f64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for f64</h3></section><section id="impl-Zeroable-for-Wrapping%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#53">source</a><a href="#impl-Zeroable-for-Wrapping%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for Wrapping&lt;T&gt;</h3></section><section id="impl-Zeroable-for-Reverse%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#54">source</a><a href="#impl-Zeroable-for-Reverse%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for Reverse&lt;T&gt;</h3></section><section id="impl-Zeroable-for-*mut%20T" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#60">source</a><a href="#impl-Zeroable-for-*mut%20T" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for *mut T</h3></section><section id="impl-Zeroable-for-*const%20T" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#61">source</a><a href="#impl-Zeroable-for-*const%20T" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for *const T</h3></section><section id="impl-Zeroable-for-*mut%20%5BT%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#62">source</a><a href="#impl-Zeroable-for-*mut%20%5BT%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for *mut [T]</h3></section><section id="impl-Zeroable-for-*const%20%5BT%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#63">source</a><a href="#impl-Zeroable-for-*const%20%5BT%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for *const [T]</h3></section><section id="impl-Zeroable-for-*mut%20str" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#64">source</a><a href="#impl-Zeroable-for-*mut%20str" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for *mut str</h3></section><section id="impl-Zeroable-for-*const%20str" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#65">source</a><a href="#impl-Zeroable-for-*const%20str" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for *const str</h3></section><section id="impl-Zeroable-for-PhantomData%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#67">source</a><a href="#impl-Zeroable-for-PhantomData%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T:&nbsp;?Sized&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for PhantomData&lt;T&gt;</h3></section><section id="impl-Zeroable-for-PhantomPinned" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#68">source</a><a href="#impl-Zeroable-for-PhantomPinned" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for PhantomPinned</h3></section><section id="impl-Zeroable-for-ManuallyDrop%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#69">source</a><a href="#impl-Zeroable-for-ManuallyDrop%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for ManuallyDrop&lt;T&gt;</h3></section><section id="impl-Zeroable-for-UnsafeCell%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#70">source</a><a href="#impl-Zeroable-for-UnsafeCell%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for UnsafeCell&lt;T&gt;</h3></section><section id="impl-Zeroable-for-Cell%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#71">source</a><a href="#impl-Zeroable-for-Cell%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for Cell&lt;T&gt;</h3></section><section id="impl-Zeroable-for-(A%2C)" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#111">source</a><a href="#impl-Zeroable-for-(A%2C)" class="anchor"></a><h3 class="code-header">impl&lt;A:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for (A,)</h3></section><section id="impl-Zeroable-for-(A%2C%20B)" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#112">source</a><a href="#impl-Zeroable-for-(A%2C%20B)" class="anchor"></a><h3 class="code-header">impl&lt;A:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, B:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for (A, B)</h3></section><section id="impl-Zeroable-for-(A%2C%20B%2C%20C)" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#113">source</a><a href="#impl-Zeroable-for-(A%2C%20B%2C%20C)" class="anchor"></a><h3 class="code-header">impl&lt;A:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, B:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, C:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for (A, B, C)</h3></section><section id="impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D)" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#114-117">source</a><a href="#impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D)" class="anchor"></a><h3 class="code-header">impl&lt;A:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, B:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, C:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, D:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for (A, B, C, D)</h3></section><section id="impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D%2C%20E)" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#118-121">source</a><a href="#impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D%2C%20E)" class="anchor"></a><h3 class="code-header">impl&lt;A:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, B:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, C:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, D:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, E:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for (A, B, C, D, E)</h3></section><section id="impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F)" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#122-131">source</a><a href="#impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F)" class="anchor"></a><h3 class="code-header">impl&lt;A:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, B:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, C:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, D:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, E:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, F:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for (A, B, C, D, E, F)</h3></section><section id="impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G)" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#132-142">source</a><a href="#impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G)" class="anchor"></a><h3 class="code-header">impl&lt;A:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, B:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, C:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, D:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, E:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, F:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, G:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for (A, B, C, D, E, F, G)</h3></section><section id="impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H)" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#143-154">source</a><a href="#impl-Zeroable-for-(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H)" class="anchor"></a><h3 class="code-header">impl&lt;A:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, B:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, C:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, D:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, E:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, F:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, G:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>, H:&nbsp;<a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for (A, B, C, D, E, F, G, H)</h3></section><section id="impl-Zeroable-for-%5BT%3B%200%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%200%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 0]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%201%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%201%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 1]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%202%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%202%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 2]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%203%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%203%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 3]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%204%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%204%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 4]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%205%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%205%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 5]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%206%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%206%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 6]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%207%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%207%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 7]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%208%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%208%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 8]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%209%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%209%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 9]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2010%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2010%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 10]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2011%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2011%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 11]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2012%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2012%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 12]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2013%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2013%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 13]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2014%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2014%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 14]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2015%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2015%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 15]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2016%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2016%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 16]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2017%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2017%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 17]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2018%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2018%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 18]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2019%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2019%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 19]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2020%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2020%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 20]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2021%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2021%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 21]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2022%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2022%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 22]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2023%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2023%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 23]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2024%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2024%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 24]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2025%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2025%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 25]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2026%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2026%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 26]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2027%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2027%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 27]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2028%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2028%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 28]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2029%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2029%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 29]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2030%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2030%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 30]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2031%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2031%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 31]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2032%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2032%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 32]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2048%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2048%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 48]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2064%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2064%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 64]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%2096%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%2096%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 96]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%20128%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%20128%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 128]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%20256%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%20256%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 256]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%20512%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%20512%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 512]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%201024%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%201024%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 1024]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%202048%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%202048%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 2048]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-%5BT%3B%204096%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#160-164">source</a><a href="#impl-Zeroable-for-%5BT%3B%204096%5D" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for [T; 4096]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a>,</span></h3></section><section id="impl-Zeroable-for-__m128i" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#206-211">source</a><a href="#impl-Zeroable-for-__m128i" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for __m128i</h3></section><section id="impl-Zeroable-for-__m128" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#206-211">source</a><a href="#impl-Zeroable-for-__m128" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for __m128</h3></section><section id="impl-Zeroable-for-__m128d" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#206-211">source</a><a href="#impl-Zeroable-for-__m128d" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for __m128d</h3></section><section id="impl-Zeroable-for-__m256i" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#206-211">source</a><a href="#impl-Zeroable-for-__m256i" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for __m256i</h3></section><section id="impl-Zeroable-for-__m256" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#206-211">source</a><a href="#impl-Zeroable-for-__m256" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for __m256</h3></section><section id="impl-Zeroable-for-__m256d" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable.rs.html#206-211">source</a><a href="#impl-Zeroable-for-__m256d" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for __m256d</h3></section><section id="impl-Zeroable-for-Option%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/zeroable_in_option.rs.html#4">source</a><a href="#impl-Zeroable-for-Option%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T:&nbsp;<a class="trait" href="trait.ZeroableInOption.html" title="trait bytemuck::ZeroableInOption">ZeroableInOption</a>&gt; <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> for Option&lt;T&gt;</h3></section><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div id="implementors-list"></div><script src="../implementors/bytemuck/zeroable/trait.Zeroable.js" data-ignore-extern-crates="core" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="bytemuck" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html>