|
|
<!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="API documentation for the Rust `Array` trait in crate `arrayvec`."><meta name="keywords" content="rust, rustlang, rust-lang, Array"><title>arrayvec::Array - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../dark.css"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../arrayvec/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Trait Array</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#associated-types">Associated Types</a><div class="sidebar-links"><a href="#associatedtype.Item">Item</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='index.html'>arrayvec</a></p><script>window.sidebarCurrent = {name: 'Array', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../src/arrayvec/array.rs.html#15-27' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='index.html'>arrayvec</a>::<wbr><a class="trait" href=''>Array</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub unsafe trait Array {
|
|
|
type <a href='#associatedtype.Item' class="type">Item</a>;
|
|
|
}</pre></div><div class='docblock'><p>Trait for fixed size arrays.</p>
|
|
|
<p>This trait is implemented for some specific array sizes, see
|
|
|
the implementor list below. At the current state of Rust we can't
|
|
|
make this fully general for every array size.</p>
|
|
|
<p>The following crate features add more array sizes (and they are not
|
|
|
enabled by default due to their impact on compliation speed).</p>
|
|
|
<ul>
|
|
|
<li><code>array-sizes-33-128</code>: All sizes 33 to 128 are implemented
|
|
|
(a few in this range are included by default).</li>
|
|
|
<li><code>array-sizes-129-255</code>: All sizes 129 to 255 are implemented
|
|
|
(a few in this range are included by default).</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<h2 id='associated-types' class='small-section-header'>Associated Types<a href='#associated-types' class='anchor'></a></h2><div class='methods'><h3 id='associatedtype.Item' class='method'><code id='Item.t'>type <a href='#associatedtype.Item' class="type">Item</a></code></h3><div class='docblock'><p>The array’s element type</p>
|
|
|
</div></div><span class='loading-content'>Loading content...</span>
|
|
|
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-Array' class='impl'><code class='in-band'>impl<T> Array for [T; 0]</code><a href='#impl-Array' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-1' class="type"><code id='Item.t-1'>type <a href='#associatedtype.Item-1' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index' class="type"><code id='Index.t'>type <a href='#associatedtype.Index' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-1' class='impl'><code class='in-band'>impl<T> Array for [T; 1]</code><a href='#impl-Array-1' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-2' class="type"><code id='Item.t-2'>type <a href='#associatedtype.Item-2' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-1' class="type"><code id='Index.t-1'>type <a href='#associatedtype.Index-1' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-2' class='impl'><code class='in-band'>impl<T> Array for [T; 2]</code><a href='#impl-Array-2' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-3' class="type"><code id='Item.t-3'>type <a href='#associatedtype.Item-3' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-2' class="type"><code id='Index.t-2'>type <a href='#associatedtype.Index-2' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-3' class='impl'><code class='in-band'>impl<T> Array for [T; 3]</code><a href='#impl-Array-3' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-4' class="type"><code id='Item.t-4'>type <a href='#associatedtype.Item-4' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-3' class="type"><code id='Index.t-3'>type <a href='#associatedtype.Index-3' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-4' class='impl'><code class='in-band'>impl<T> Array for [T; 4]</code><a href='#impl-Array-4' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-5' class="type"><code id='Item.t-5'>type <a href='#associatedtype.Item-5' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-4' class="type"><code id='Index.t-4'>type <a href='#associatedtype.Index-4' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-5' class='impl'><code class='in-band'>impl<T> Array for [T; 5]</code><a href='#impl-Array-5' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-6' class="type"><code id='Item.t-6'>type <a href='#associatedtype.Item-6' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-5' class="type"><code id='Index.t-5'>type <a href='#associatedtype.Index-5' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-6' class='impl'><code class='in-band'>impl<T> Array for [T; 6]</code><a href='#impl-Array-6' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-7' class="type"><code id='Item.t-7'>type <a href='#associatedtype.Item-7' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-6' class="type"><code id='Index.t-6'>type <a href='#associatedtype.Index-6' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-7' class='impl'><code class='in-band'>impl<T> Array for [T; 7]</code><a href='#impl-Array-7' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-8' class="type"><code id='Item.t-8'>type <a href='#associatedtype.Item-8' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-7' class="type"><code id='Index.t-7'>type <a href='#associatedtype.Index-7' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-8' class='impl'><code class='in-band'>impl<T> Array for [T; 8]</code><a href='#impl-Array-8' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-9' class="type"><code id='Item.t-9'>type <a href='#associatedtype.Item-9' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-8' class="type"><code id='Index.t-8'>type <a href='#associatedtype.Index-8' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-9' class='impl'><code class='in-band'>impl<T> Array for [T; 9]</code><a href='#impl-Array-9' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-10' class="type"><code id='Item.t-10'>type <a href='#associatedtype.Item-10' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-9' class="type"><code id='Index.t-9'>type <a href='#associatedtype.Index-9' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-10' class='impl'><code class='in-band'>impl<T> Array for [T; 10]</code><a href='#impl-Array-10' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-11' class="type"><code id='Item.t-11'>type <a href='#associatedtype.Item-11' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-10' class="type"><code id='Index.t-10'>type <a href='#associatedtype.Index-10' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-11' class='impl'><code class='in-band'>impl<T> Array for [T; 11]</code><a href='#impl-Array-11' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-12' class="type"><code id='Item.t-12'>type <a href='#associatedtype.Item-12' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-11' class="type"><code id='Index.t-11'>type <a href='#associatedtype.Index-11' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-12' class='impl'><code class='in-band'>impl<T> Array for [T; 12]</code><a href='#impl-Array-12' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-13' class="type"><code id='Item.t-13'>type <a href='#associatedtype.Item-13' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-12' class="type"><code id='Index.t-12'>type <a href='#associatedtype.Index-12' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-13' class='impl'><code class='in-band'>impl<T> Array for [T; 13]</code><a href='#impl-Array-13' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-14' class="type"><code id='Item.t-14'>type <a href='#associatedtype.Item-14' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-13' class="type"><code id='Index.t-13'>type <a href='#associatedtype.Index-13' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-14' class='impl'><code class='in-band'>impl<T> Array for [T; 14]</code><a href='#impl-Array-14' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-15' class="type"><code id='Item.t-15'>type <a href='#associatedtype.Item-15' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-14' class="type"><code id='Index.t-14'>type <a href='#associatedtype.Index-14' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-15' class='impl'><code class='in-band'>impl<T> Array for [T; 15]</code><a href='#impl-Array-15' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-16' class="type"><code id='Item.t-16'>type <a href='#associatedtype.Item-16' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-15' class="type"><code id='Index.t-15'>type <a href='#associatedtype.Index-15' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-16' class='impl'><code class='in-band'>impl<T> Array for [T; 16]</code><a href='#impl-Array-16' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-17' class="type"><code id='Item.t-17'>type <a href='#associatedtype.Item-17' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-16' class="type"><code id='Index.t-16'>type <a href='#associatedtype.Index-16' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-17' class='impl'><code class='in-band'>impl<T> Array for [T; 17]</code><a href='#impl-Array-17' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-18' class="type"><code id='Item.t-18'>type <a href='#associatedtype.Item-18' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-17' class="type"><code id='Index.t-17'>type <a href='#associatedtype.Index-17' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-18' class='impl'><code class='in-band'>impl<T> Array for [T; 18]</code><a href='#impl-Array-18' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-19' class="type"><code id='Item.t-19'>type <a href='#associatedtype.Item-19' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-18' class="type"><code id='Index.t-18'>type <a href='#associatedtype.Index-18' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-19' class='impl'><code class='in-band'>impl<T> Array for [T; 19]</code><a href='#impl-Array-19' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-20' class="type"><code id='Item.t-20'>type <a href='#associatedtype.Item-20' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-19' class="type"><code id='Index.t-19'>type <a href='#associatedtype.Index-19' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-20' class='impl'><code class='in-band'>impl<T> Array for [T; 20]</code><a href='#impl-Array-20' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-21' class="type"><code id='Item.t-21'>type <a href='#associatedtype.Item-21' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-20' class="type"><code id='Index.t-20'>type <a href='#associatedtype.Index-20' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-21' class='impl'><code class='in-band'>impl<T> Array for [T; 21]</code><a href='#impl-Array-21' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-22' class="type"><code id='Item.t-22'>type <a href='#associatedtype.Item-22' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-21' class="type"><code id='Index.t-21'>type <a href='#associatedtype.Index-21' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-22' class='impl'><code class='in-band'>impl<T> Array for [T; 22]</code><a href='#impl-Array-22' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-23' class="type"><code id='Item.t-23'>type <a href='#associatedtype.Item-23' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-22' class="type"><code id='Index.t-22'>type <a href='#associatedtype.Index-22' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-23' class='impl'><code class='in-band'>impl<T> Array for [T; 23]</code><a href='#impl-Array-23' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-24' class="type"><code id='Item.t-24'>type <a href='#associatedtype.Item-24' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-23' class="type"><code id='Index.t-23'>type <a href='#associatedtype.Index-23' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-24' class='impl'><code class='in-band'>impl<T> Array for [T; 24]</code><a href='#impl-Array-24' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-25' class="type"><code id='Item.t-25'>type <a href='#associatedtype.Item-25' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-24' class="type"><code id='Index.t-24'>type <a href='#associatedtype.Index-24' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-25' class='impl'><code class='in-band'>impl<T> Array for [T; 25]</code><a href='#impl-Array-25' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-26' class="type"><code id='Item.t-26'>type <a href='#associatedtype.Item-26' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-25' class="type"><code id='Index.t-25'>type <a href='#associatedtype.Index-25' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-26' class='impl'><code class='in-band'>impl<T> Array for [T; 26]</code><a href='#impl-Array-26' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-27' class="type"><code id='Item.t-27'>type <a href='#associatedtype.Item-27' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-26' class="type"><code id='Index.t-26'>type <a href='#associatedtype.Index-26' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-27' class='impl'><code class='in-band'>impl<T> Array for [T; 27]</code><a href='#impl-Array-27' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-28' class="type"><code id='Item.t-28'>type <a href='#associatedtype.Item-28' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-27' class="type"><code id='Index.t-27'>type <a href='#associatedtype.Index-27' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-28' class='impl'><code class='in-band'>impl<T> Array for [T; 28]</code><a href='#impl-Array-28' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-29' class="type"><code id='Item.t-29'>type <a href='#associatedtype.Item-29' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-28' class="type"><code id='Index.t-28'>type <a href='#associatedtype.Index-28' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-29' class='impl'><code class='in-band'>impl<T> Array for [T; 29]</code><a href='#impl-Array-29' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-30' class="type"><code id='Item.t-30'>type <a href='#associatedtype.Item-30' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-29' class="type"><code id='Index.t-29'>type <a href='#associatedtype.Index-29' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-30' class='impl'><code class='in-band'>impl<T> Array for [T; 30]</code><a href='#impl-Array-30' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-31' class="type"><code id='Item.t-31'>type <a href='#associatedtype.Item-31' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-30' class="type"><code id='Index.t-30'>type <a href='#associatedtype.Index-30' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-31' class='impl'><code class='in-band'>impl<T> Array for [T; 31]</code><a href='#impl-Array-31' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-32' class="type"><code id='Item.t-32'>type <a href='#associatedtype.Item-32' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-31' class="type"><code id='Index.t-31'>type <a href='#associatedtype.Index-31' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-32' class='impl'><code class='in-band'>impl<T> Array for [T; 32]</code><a href='#impl-Array-32' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-33' class="type"><code id='Item.t-33'>type <a href='#associatedtype.Item-33' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-32' class="type"><code id='Index.t-32'>type <a href='#associatedtype.Index-32' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-33' class='impl'><code class='in-band'>impl<T> Array for [T; 40]</code><a href='#impl-Array-33' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-34' class="type"><code id='Item.t-34'>type <a href='#associatedtype.Item-34' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-33' class="type"><code id='Index.t-33'>type <a href='#associatedtype.Index-33' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-34' class='impl'><code class='in-band'>impl<T> Array for [T; 48]</code><a href='#impl-Array-34' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-35' class="type"><code id='Item.t-35'>type <a href='#associatedtype.Item-35' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-34' class="type"><code id='Index.t-34'>type <a href='#associatedtype.Index-34' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-35' class='impl'><code class='in-band'>impl<T> Array for [T; 50]</code><a href='#impl-Array-35' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-36' class="type"><code id='Item.t-36'>type <a href='#associatedtype.Item-36' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-35' class="type"><code id='Index.t-35'>type <a href='#associatedtype.Index-35' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-36' class='impl'><code class='in-band'>impl<T> Array for [T; 56]</code><a href='#impl-Array-36' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-37' class="type"><code id='Item.t-37'>type <a href='#associatedtype.Item-37' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-36' class="type"><code id='Index.t-36'>type <a href='#associatedtype.Index-36' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-37' class='impl'><code class='in-band'>impl<T> Array for [T; 64]</code><a href='#impl-Array-37' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-38' class="type"><code id='Item.t-38'>type <a href='#associatedtype.Item-38' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-37' class="type"><code id='Index.t-37'>type <a href='#associatedtype.Index-37' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-38' class='impl'><code class='in-band'>impl<T> Array for [T; 72]</code><a href='#impl-Array-38' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-39' class="type"><code id='Item.t-39'>type <a href='#associatedtype.Item-39' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-38' class="type"><code id='Index.t-38'>type <a href='#associatedtype.Index-38' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-39' class='impl'><code class='in-band'>impl<T> Array for [T; 96]</code><a href='#impl-Array-39' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-40' class="type"><code id='Item.t-40'>type <a href='#associatedtype.Item-40' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-39' class="type"><code id='Index.t-39'>type <a href='#associatedtype.Index-39' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-40' class='impl'><code class='in-band'>impl<T> Array for [T; 100]</code><a href='#impl-Array-40' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-41' class="type"><code id='Item.t-41'>type <a href='#associatedtype.Item-41' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-40' class="type"><code id='Index.t-40'>type <a href='#associatedtype.Index-40' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-41' class='impl'><code class='in-band'>impl<T> Array for [T; 128]</code><a href='#impl-Array-41' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-42' class="type"><code id='Item.t-42'>type <a href='#associatedtype.Item-42' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-41' class="type"><code id='Index.t-41'>type <a href='#associatedtype.Index-41' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-42' class='impl'><code class='in-band'>impl<T> Array for [T; 160]</code><a href='#impl-Array-42' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-43' class="type"><code id='Item.t-43'>type <a href='#associatedtype.Item-43' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-42' class="type"><code id='Index.t-42'>type <a href='#associatedtype.Index-42' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-43' class='impl'><code class='in-band'>impl<T> Array for [T; 192]</code><a href='#impl-Array-43' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-44' class="type"><code id='Item.t-44'>type <a href='#associatedtype.Item-44' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-43' class="type"><code id='Index.t-43'>type <a href='#associatedtype.Index-43' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-44' class='impl'><code class='in-band'>impl<T> Array for [T; 200]</code><a href='#impl-Array-44' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-45' class="type"><code id='Item.t-45'>type <a href='#associatedtype.Item-45' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-44' class="type"><code id='Index.t-44'>type <a href='#associatedtype.Index-44' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-45' class='impl'><code class='in-band'>impl<T> Array for [T; 224]</code><a href='#impl-Array-45' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-46' class="type"><code id='Item.t-46'>type <a href='#associatedtype.Item-46' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-45' class="type"><code id='Index.t-45'>type <a href='#associatedtype.Index-45' class="type">Index</a> = u8</code></h4></div><h3 id='impl-Array-46' class='impl'><code class='in-band'>impl<T> Array for [T; 256]</code><a href='#impl-Array-46' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-47' class="type"><code id='Item.t-47'>type <a href='#associatedtype.Item-47' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-46' class="type"><code id='Index.t-46'>type <a href='#associatedtype.Index-46' class="type">Index</a> = u16</code></h4></div><h3 id='impl-Array-47' class='impl'><code class='in-band'>impl<T> Array for [T; 384]</code><a href='#impl-Array-47' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-48' class="type"><code id='Item.t-48'>type <a href='#associatedtype.Item-48' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-47' class="type"><code id='Index.t-47'>type <a href='#associatedtype.Index-47' class="type">Index</a> = u16</code></h4></div><h3 id='impl-Array-48' class='impl'><code class='in-band'>impl<T> Array for [T; 512]</code><a href='#impl-Array-48' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-49' class="type"><code id='Item.t-49'>type <a href='#associatedtype.Item-49' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-48' class="type"><code id='Index.t-48'>type <a href='#associatedtype.Index-48' class="type">Index</a> = u16</code></h4></div><h3 id='impl-Array-49' class='impl'><code class='in-band'>impl<T> Array for [T; 768]</code><a href='#impl-Array-49' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-50' class="type"><code id='Item.t-50'>type <a href='#associatedtype.Item-50' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-49' class="type"><code id='Index.t-49'>type <a href='#associatedtype.Index-49' class="type">Index</a> = u16</code></h4></div><h3 id='impl-Array-50' class='impl'><code class='in-band'>impl<T> Array for [T; 1024]</code><a href='#impl-Array-50' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-51' class="type"><code id='Item.t-51'>type <a href='#associatedtype.Item-51' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-50' class="type"><code id='Index.t-50'>type <a href='#associatedtype.Index-50' class="type">Index</a> = u16</code></h4></div><h3 id='impl-Array-51' class='impl'><code class='in-band'>impl<T> Array for [T; 2048]</code><a href='#impl-Array-51' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-52' class="type"><code id='Item.t-52'>type <a href='#associatedtype.Item-52' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-51' class="type"><code id='Index.t-51'>type <a href='#associatedtype.Index-51' class="type">Index</a> = u16</code></h4></div><h3 id='impl-Array-52' class='impl'><code class='in-band'>impl<T> Array for [T; 4096]</code><a href='#impl-Array-52' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-53' class="type"><code id='Item.t-53'>type <a href='#associatedtype.Item-53' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-52' class="type"><code id='Index.t-52'>type <a href='#associatedtype.Index-52' class="type">Index</a> = u16</code></h4></div><h3 id='impl-Array-53' class='impl'><code class='in-band'>impl<T> Array for [T; 8192]</code><a href='#impl-Array-53' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-54' class="type"><code id='Item.t-54'>type <a href='#associatedtype.Item-54' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-53' class="type"><code id='Index.t-53'>type <a href='#associatedtype.Index-53' class="type">Index</a> = u16</code></h4></div><h3 id='impl-Array-54' class='impl'><code class='in-band'>impl<T> Array for [T; 16384]</code><a href='#impl-Array-54' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-55' class="type"><code id='Item.t-55'>type <a href='#associatedtype.Item-55' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-54' class="type"><code id='Index.t-54'>type <a href='#associatedtype.Index-54' class="type">Index</a> = u16</code></h4></div><h3 id='impl-Array-55' class='impl'><code class='in-band'>impl<T> Array for [T; 32768]</code><a href='#impl-Array-55' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-56' class="type"><code id='Item.t-56'>type <a href='#associatedtype.Item-56' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-55' class="type"><code id='Index.t-55'>type <a href='#associatedtype.Index-55' class="type">Index</a> = u16</code></h4></div><h3 id='impl-Array-56' class='impl'><code class='in-band'>impl<T> Array for [T; 65536]</code><a href='#impl-Array-56' class='anchor'></a><a class='srclink' href='../src/arrayvec/array.rs.html#77-89' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Item-57' class="type"><code id='Item.t-57'>type <a href='#associatedtype.Item-57' class="type">Item</a> = T</code></h4><h4 id='associatedtype.Index-56' class="type"><code id='Index.t-56'>type <a href='#associatedtype.Index-56' class="type">Index</a> = u32</code></h4></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async
|
|
|
src="../implementors/arrayvec/trait.Array.js">
|
|
|
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../";window.currentCrate = "arrayvec";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html> |