| <!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="Marker trait for “plain old data”."><meta name="keywords" content="rust, rustlang, rust-lang, Pod"><title>Pod 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">☰</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="#">Pod</a></h2><div class="sidebar-elems"><section><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Pod-for-()">()</a></li><li><a href="#impl-Pod-for-ManuallyDrop%3CT%3E">ManuallyDrop<T></a></li><li><a href="#impl-Pod-for-Option%3CT%3E">Option<T></a></li><li><a href="#impl-Pod-for-PhantomData%3CT%3E">PhantomData<T></a></li><li><a href="#impl-Pod-for-PhantomPinned">PhantomPinned</a></li><li><a href="#impl-Pod-for-Wrapping%3CT%3E">Wrapping<T></a></li><li><a href="#impl-Pod-for-%5BT%3B%200%5D">[T; 0]</a></li><li><a href="#impl-Pod-for-%5BT%3B%201024%5D">[T; 1024]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2010%5D">[T; 10]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2011%5D">[T; 11]</a></li><li><a href="#impl-Pod-for-%5BT%3B%20128%5D">[T; 128]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2012%5D">[T; 12]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2013%5D">[T; 13]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2014%5D">[T; 14]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2015%5D">[T; 15]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2016%5D">[T; 16]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2017%5D">[T; 17]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2018%5D">[T; 18]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2019%5D">[T; 19]</a></li><li><a href="#impl-Pod-for-%5BT%3B%201%5D">[T; 1]</a></li><li><a href="#impl-Pod-for-%5BT%3B%202048%5D">[T; 2048]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2020%5D">[T; 20]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2021%5D">[T; 21]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2022%5D">[T; 22]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2023%5D">[T; 23]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2024%5D">[T; 24]</a></li><li><a href="#impl-Pod-for-%5BT%3B%20256%5D">[T; 256]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2025%5D">[T; 25]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2026%5D">[T; 26]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2027%5D">[T; 27]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2028%5D">[T; 28]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2029%5D">[T; 29]</a></li><li><a href="#impl-Pod-for-%5BT%3B%202%5D">[T; 2]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2030%5D">[T; 30]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2031%5D">[T; 31]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2032%5D">[T; 32]</a></li><li><a href="#impl-Pod-for-%5BT%3B%203%5D">[T; 3]</a></li><li><a href="#impl-Pod-for-%5BT%3B%204096%5D">[T; 4096]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2048%5D">[T; 48]</a></li><li><a href="#impl-Pod-for-%5BT%3B%204%5D">[T; 4]</a></li><li><a href="#impl-Pod-for-%5BT%3B%20512%5D">[T; 512]</a></li><li><a href="#impl-Pod-for-%5BT%3B%205%5D">[T; 5]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2064%5D">[T; 64]</a></li><li><a href="#impl-Pod-for-%5BT%3B%206%5D">[T; 6]</a></li><li><a href="#impl-Pod-for-%5BT%3B%207%5D">[T; 7]</a></li><li><a href="#impl-Pod-for-%5BT%3B%208%5D">[T; 8]</a></li><li><a href="#impl-Pod-for-%5BT%3B%2096%5D">[T; 96]</a></li><li><a href="#impl-Pod-for-%5BT%3B%209%5D">[T; 9]</a></li><li><a href="#impl-Pod-for-__m128">__m128</a></li><li><a href="#impl-Pod-for-__m128d">__m128d</a></li><li><a href="#impl-Pod-for-__m128i">__m128i</a></li><li><a href="#impl-Pod-for-__m256">__m256</a></li><li><a href="#impl-Pod-for-__m256d">__m256d</a></li><li><a href="#impl-Pod-for-__m256i">__m256i</a></li><li><a href="#impl-Pod-for-f32">f32</a></li><li><a href="#impl-Pod-for-f64">f64</a></li><li><a href="#impl-Pod-for-i128">i128</a></li><li><a href="#impl-Pod-for-i16">i16</a></li><li><a href="#impl-Pod-for-i32">i32</a></li><li><a href="#impl-Pod-for-i64">i64</a></li><li><a href="#impl-Pod-for-i8">i8</a></li><li><a href="#impl-Pod-for-isize">isize</a></li><li><a href="#impl-Pod-for-u128">u128</a></li><li><a href="#impl-Pod-for-u16">u16</a></li><li><a href="#impl-Pod-for-u32">u32</a></li><li><a href="#impl-Pod-for-u64">u64</a></li><li><a href="#impl-Pod-for-u8">u8</a></li><li><a href="#impl-Pod-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="#">Pod</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/pod.rs.html#37">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="item-decl"><pre class="rust trait"><code>pub unsafe trait Pod: <a class="trait" href="trait.Zeroable.html" title="trait bytemuck::Zeroable">Zeroable</a> + Copy + 'static { }</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Marker trait for “plain old data”.</p> |
| <p>The point of this trait is that once something is marked “plain old data” |
| you can really go to town with the bit fiddling and bit casting. Therefore, |
| it’s a relatively strong claim to make about a type. Do not add this to your |
| type casually.</p> |
| <p><strong>Reminder:</strong> The results of casting around bytes between data types are |
| <em>endian dependant</em>. Little-endian machines are the most common, but |
| big-endian machines do exist (and big-endian is also used for “network |
| order” bytes).</p> |
| <h3 id="safety"><a href="#safety">Safety</a></h3> |
| <ul> |
| <li>The type must be inhabited (eg: no |
| <a href="core::convert::Infallible">Infallible</a>).</li> |
| <li>The type must allow any bit pattern (eg: no <code>bool</code> or <code>char</code>, which have |
| illegal bit patterns).</li> |
| <li>The type must not contain any uninit (or padding) bytes, either in the |
| middle or on the end (eg: no <code>#[repr(C)] struct Foo(u8, u16)</code>, which has |
| padding in the middle, and also no <code>#[repr(C)] struct Foo(u16, u8)</code>, which |
| has padding on the end).</li> |
| <li>The type needs to have all fields also be <code>Pod</code>.</li> |
| <li>The type needs to be <code>repr(C)</code> or <code>repr(transparent)</code>. In the case of |
| <code>repr(C)</code>, the <code>packed</code> and <code>align</code> repr modifiers can be used as long as |
| all other rules end up being followed.</li> |
| <li>It is disallowed for types to contain pointer types, <code>Cell</code>, <code>UnsafeCell</code>, |
| atomics, and any other forms of interior mutability.</li> |
| <li>More precisely: A shared reference to the type must allow reads, and |
| <em>only</em> reads. RustBelt’s separation logic is based on the notion that a |
| type is allowed to define a sharing predicate, its own invariant that must |
| hold for shared references, and this predicate is the reasoning that allow |
| it to deal with atomic and cells etc. We require the sharing predicate to |
| be trivial and permit only read-only access.</li> |
| </ul> |
| </div></details><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><section id="impl-Pod-for-()" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#39">source</a><a href="#impl-Pod-for-()" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for ()</h3></section><section id="impl-Pod-for-u8" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#40">source</a><a href="#impl-Pod-for-u8" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for u8</h3></section><section id="impl-Pod-for-i8" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#41">source</a><a href="#impl-Pod-for-i8" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for i8</h3></section><section id="impl-Pod-for-u16" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#42">source</a><a href="#impl-Pod-for-u16" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for u16</h3></section><section id="impl-Pod-for-i16" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#43">source</a><a href="#impl-Pod-for-i16" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for i16</h3></section><section id="impl-Pod-for-u32" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#44">source</a><a href="#impl-Pod-for-u32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for u32</h3></section><section id="impl-Pod-for-i32" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#45">source</a><a href="#impl-Pod-for-i32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for i32</h3></section><section id="impl-Pod-for-u64" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#46">source</a><a href="#impl-Pod-for-u64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for u64</h3></section><section id="impl-Pod-for-i64" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#47">source</a><a href="#impl-Pod-for-i64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for i64</h3></section><section id="impl-Pod-for-usize" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#48">source</a><a href="#impl-Pod-for-usize" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for usize</h3></section><section id="impl-Pod-for-isize" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#49">source</a><a href="#impl-Pod-for-isize" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for isize</h3></section><section id="impl-Pod-for-u128" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#50">source</a><a href="#impl-Pod-for-u128" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for u128</h3></section><section id="impl-Pod-for-i128" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#51">source</a><a href="#impl-Pod-for-i128" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for i128</h3></section><section id="impl-Pod-for-f32" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#52">source</a><a href="#impl-Pod-for-f32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for f32</h3></section><section id="impl-Pod-for-f64" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#53">source</a><a href="#impl-Pod-for-f64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for f64</h3></section><section id="impl-Pod-for-Wrapping%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#54">source</a><a href="#impl-Pod-for-Wrapping%3CT%3E" class="anchor"></a><h3 class="code-header">impl<T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for Wrapping<T></h3></section><section id="impl-Pod-for-PhantomData%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#63">source</a><a href="#impl-Pod-for-PhantomData%3CT%3E" class="anchor"></a><h3 class="code-header">impl<T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for PhantomData<T></h3></section><section id="impl-Pod-for-PhantomPinned" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#64">source</a><a href="#impl-Pod-for-PhantomPinned" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for PhantomPinned</h3></section><section id="impl-Pod-for-ManuallyDrop%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#65">source</a><a href="#impl-Pod-for-ManuallyDrop%3CT%3E" class="anchor"></a><h3 class="code-header">impl<T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for ManuallyDrop<T></h3></section><section id="impl-Pod-for-%5BT%3B%200%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%200%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 0]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%201%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%201%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 1]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%202%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%202%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 2]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%203%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%203%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 3]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%204%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%204%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 4]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%205%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%205%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 5]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%206%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%206%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 6]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%207%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%207%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 7]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%208%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%208%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 8]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%209%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%209%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 9]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2010%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2010%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 10]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2011%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2011%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 11]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2012%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2012%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 12]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2013%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2013%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 13]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2014%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2014%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 14]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2015%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2015%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 15]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2016%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2016%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 16]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2017%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2017%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 17]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2018%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2018%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 18]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2019%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2019%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 19]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2020%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2020%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 20]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2021%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2021%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 21]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2022%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2022%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 22]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2023%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2023%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 23]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2024%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2024%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 24]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2025%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2025%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 25]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2026%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2026%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 26]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2027%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2027%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 27]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2028%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2028%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 28]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2029%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2029%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 29]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2030%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2030%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 30]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2031%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2031%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 31]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2032%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2032%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 32]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2048%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2048%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 48]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2064%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2064%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 64]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%2096%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%2096%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 96]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%20128%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%20128%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 128]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%20256%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%20256%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 256]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%20512%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%20512%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 512]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%201024%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%201024%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 1024]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%202048%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%202048%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 2048]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-%5BT%3B%204096%5D" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#73-77">source</a><a href="#impl-Pod-for-%5BT%3B%204096%5D" class="anchor"></a><h3 class="code-header">impl<T> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for [T; 4096]<span class="where fmt-newline">where<br> T: <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a>,</span></h3></section><section id="impl-Pod-for-__m128i" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#119-124">source</a><a href="#impl-Pod-for-__m128i" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for __m128i</h3></section><section id="impl-Pod-for-__m128" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#119-124">source</a><a href="#impl-Pod-for-__m128" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for __m128</h3></section><section id="impl-Pod-for-__m128d" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#119-124">source</a><a href="#impl-Pod-for-__m128d" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for __m128d</h3></section><section id="impl-Pod-for-__m256i" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#119-124">source</a><a href="#impl-Pod-for-__m256i" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for __m256i</h3></section><section id="impl-Pod-for-__m256" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#119-124">source</a><a href="#impl-Pod-for-__m256" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for __m256</h3></section><section id="impl-Pod-for-__m256d" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod.rs.html#119-124">source</a><a href="#impl-Pod-for-__m256d" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for __m256d</h3></section><section id="impl-Pod-for-Option%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/bytemuck/pod_in_option.rs.html#4">source</a><a href="#impl-Pod-for-Option%3CT%3E" class="anchor"></a><h3 class="code-header">impl<T: <a class="trait" href="trait.PodInOption.html" title="trait bytemuck::PodInOption">PodInOption</a>> <a class="trait" href="trait.Pod.html" title="trait bytemuck::Pod">Pod</a> for Option<T></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/pod/trait.Pod.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> |