<!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 `VecDeque` struct in crate `collections`."> <meta name="keywords" content="rust, rustlang, rust-lang, VecDeque"> <title>collections::vec_deque::VecDeque - Rust</title> <link rel="stylesheet" type="text/css" href="../../normalize.css"> <link rel="stylesheet" type="text/css" href="../../rustdoc.css"> <link rel="stylesheet" type="text/css" href="../../main.css"> <link rel="shortcut icon" href="https://doc.rust-lang.org/favicon.ico"> </head> <body class="rustdoc struct"> <!--[if lte IE 8]> <div class="warning"> This old browser is unsupported and will most likely display funky things. </div> <![endif]--> <nav class="sidebar"> <a href='../../collections/index.html'><img src='https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png' alt='logo' width='100'></a> <p class='location'>Struct VecDeque</p><div class="block items"><ul><li><a href="#methods">Methods</a></li><li><a href="#implementations">Trait Implementations</a></li></ul></div><p class='location'><a href='../index.html'>collections</a>::<wbr><a href='index.html'>vec_deque</a></p><script>window.sidebarCurrent = {name: 'VecDeque', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script> </nav> <nav class="sub"> <form class="search-form js-only"> <div class="search-container"> <input class="search-input" name="search" autocomplete="off" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"> </div> </form> </nav> <section id='main' class="content"> <h1 class='fqn'><span class='in-band'>Struct <a href='../index.html'>collections</a>::<wbr><a href='index.html'>vec_deque</a>::<wbr><a class="struct" href=''>VecDeque</a></span><span class='out-of-band'><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><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/collections/vec_deque.rs.html#57-66' title='goto source code'>[src]</a></span></h1> <pre class='rust struct'>pub struct VecDeque<T> { /* fields omitted */ }</pre><div class='docblock'><p>A double-ended queue implemented with a growable ring buffer.</p> <p>The "default" usage of this type as a queue is to use <a href="#method.push_back"><code>push_back</code></a> to add to the queue, and <a href="#method.pop_front"><code>pop_front</code></a> to remove from the queue. <a href="#method.extend"><code>extend</code></a> and <a href="#method.append"><code>append</code></a> push onto the back in this manner, and iterating over <code>VecDeque</code> goes front to back.</p> </div><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl<T> <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#367-1812' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a>() -> <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span></h4> <div class='docblock'><p>Creates an empty <code>VecDeque</code>.</p> <h1 id='examples' class='section-header'><a href='#examples'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="ident">vector</span>: <span class="ident">VecDeque</span><span class="op"><</span><span class="ident">u32</span><span class="op">></span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>();<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20vector%3A%20VecDeque%3Cu32%3E%20%3D%20VecDeque%3A%3Anew()%3B%0A%7D">Run</a></pre> </div><h4 id='method.with_capacity' class="method"><span id='with_capacity.v' class='invisible'><code>fn <a href='#method.with_capacity' class='fnname'>with_capacity</a>(n: usize) -> <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span></h4> <div class='docblock'><p>Creates an empty <code>VecDeque</code> with space for at least <code>n</code> elements.</p> <h1 id='examples-1' class='section-header'><a href='#examples-1'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="ident">vector</span>: <span class="ident">VecDeque</span><span class="op"><</span><span class="ident">u32</span><span class="op">></span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">with_capacity</span>(<span class="number">10</span>);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20vector%3A%20VecDeque%3Cu32%3E%20%3D%20VecDeque%3A%3Awith_capacity(10)%3B%0A%7D">Run</a></pre> </div><h4 id='method.get' class="method"><span id='get.v' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(&self, index: usize) -> <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a><&T></code></span></h4> <div class='docblock'><p>Retrieves an element in the <code>VecDeque</code> by index.</p> <p>Element at index 0 is the front of the queue.</p> <h1 id='examples-2' class='section-header'><a href='#examples-2'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">3</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">4</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">5</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">get</span>(<span class="number">1</span>), <span class="prelude-val">Some</span>(<span class="kw-2">&</span><span class="number">4</span>));<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Abuf.push_back(3)%3B%0Abuf.push_back(4)%3B%0Abuf.push_back(5)%3B%0Aassert_eq!(buf.get(1)%2C%20Some(%264))%3B%0A%7D">Run</a></pre> </div><h4 id='method.get_mut' class="method"><span id='get_mut.v' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(&mut self, index: usize) -> <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut T></code></span></h4> <div class='docblock'><p>Retrieves an element in the <code>VecDeque</code> mutably by index.</p> <p>Element at index 0 is the front of the queue.</p> <h1 id='examples-3' class='section-header'><a href='#examples-3'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">3</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">4</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">5</span>); <span class="kw">if</span> <span class="kw">let</span> <span class="prelude-val">Some</span>(<span class="ident">elem</span>) <span class="op">=</span> <span class="ident">buf</span>.<span class="ident">get_mut</span>(<span class="number">1</span>) { <span class="kw-2">*</span><span class="ident">elem</span> <span class="op">=</span> <span class="number">7</span>; } <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>[<span class="number">1</span>], <span class="number">7</span>);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Abuf.push_back(3)%3B%0Abuf.push_back(4)%3B%0Abuf.push_back(5)%3B%0Aif%20let%20Some(elem)%20%3D%20buf.get_mut(1)%20%7B%0A%20%20%20%20*elem%20%3D%207%3B%0A%7D%0A%0Aassert_eq!(buf%5B1%5D%2C%207)%3B%0A%7D">Run</a></pre> </div><h4 id='method.swap' class="method"><span id='swap.v' class='invisible'><code>fn <a href='#method.swap' class='fnname'>swap</a>(&mut self, i: usize, j: usize)</code></span></h4> <div class='docblock'><p>Swaps elements at indices <code>i</code> and <code>j</code>.</p> <p><code>i</code> and <code>j</code> may be equal.</p> <p>Fails if there is no element with either index.</p> <p>Element at index 0 is the front of the queue.</p> <h1 id='examples-4' class='section-header'><a href='#examples-4'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">3</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">4</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">5</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">3</span>, <span class="number">4</span>, <span class="number">5</span>]); <span class="ident">buf</span>.<span class="ident">swap</span>(<span class="number">0</span>, <span class="number">2</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">5</span>, <span class="number">4</span>, <span class="number">3</span>]);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Abuf.push_back(3)%3B%0Abuf.push_back(4)%3B%0Abuf.push_back(5)%3B%0Aassert_eq!(buf%2C%20%5B3%2C%204%2C%205%5D)%3B%0Abuf.swap(0%2C%202)%3B%0Aassert_eq!(buf%2C%20%5B5%2C%204%2C%203%5D)%3B%0A%7D">Run</a></pre> </div><h4 id='method.capacity' class="method"><span id='capacity.v' class='invisible'><code>fn <a href='#method.capacity' class='fnname'>capacity</a>(&self) -> usize</code></span></h4> <div class='docblock'><p>Returns the number of elements the <code>VecDeque</code> can hold without reallocating.</p> <h1 id='examples-5' class='section-header'><a href='#examples-5'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="ident">buf</span>: <span class="ident">VecDeque</span><span class="op"><</span><span class="ident">i32</span><span class="op">></span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">with_capacity</span>(<span class="number">10</span>); <span class="macro">assert</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">capacity</span>() <span class="op">>=</span> <span class="number">10</span>);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20buf%3A%20VecDeque%3Ci32%3E%20%3D%20VecDeque%3A%3Awith_capacity(10)%3B%0Aassert!(buf.capacity()%20%3E%3D%2010)%3B%0A%7D">Run</a></pre> </div><h4 id='method.reserve_exact' class="method"><span id='reserve_exact.v' class='invisible'><code>fn <a href='#method.reserve_exact' class='fnname'>reserve_exact</a>(&mut self, additional: usize)</code></span></h4> <div class='docblock'><p>Reserves the minimum capacity for exactly <code>additional</code> more elements to be inserted in the given <code>VecDeque</code>. Does nothing if the capacity is already sufficient.</p> <p>Note that the allocator may give the collection more space than it requests. Therefore capacity can not be relied upon to be precisely minimal. Prefer <a href="#method.reserve"><code>reserve</code></a> if future insertions are expected.</p> <h1 id='panics' class='section-header'><a href='#panics'>Panics</a></h1> <p>Panics if the new capacity overflows <code>usize</code>.</p> <h1 id='examples-6' class='section-header'><a href='#examples-6'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span>: <span class="ident">VecDeque</span><span class="op"><</span><span class="ident">i32</span><span class="op">></span> <span class="op">=</span> <span class="macro">vec</span><span class="macro">!</span>[<span class="number">1</span>].<span class="ident">into_iter</span>().<span class="ident">collect</span>(); <span class="ident">buf</span>.<span class="ident">reserve_exact</span>(<span class="number">10</span>); <span class="macro">assert</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">capacity</span>() <span class="op">>=</span> <span class="number">11</span>);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%3A%20VecDeque%3Ci32%3E%20%3D%20vec!%5B1%5D.into_iter().collect()%3B%0Abuf.reserve_exact(10)%3B%0Aassert!(buf.capacity()%20%3E%3D%2011)%3B%0A%7D">Run</a></pre> </div><h4 id='method.reserve' class="method"><span id='reserve.v' class='invisible'><code>fn <a href='#method.reserve' class='fnname'>reserve</a>(&mut self, additional: usize)</code></span></h4> <div class='docblock'><p>Reserves capacity for at least <code>additional</code> more elements to be inserted in the given <code>VecDeque</code>. The collection may reserve more space to avoid frequent reallocations.</p> <h1 id='panics-1' class='section-header'><a href='#panics-1'>Panics</a></h1> <p>Panics if the new capacity overflows <code>usize</code>.</p> <h1 id='examples-7' class='section-header'><a href='#examples-7'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span>: <span class="ident">VecDeque</span><span class="op"><</span><span class="ident">i32</span><span class="op">></span> <span class="op">=</span> <span class="macro">vec</span><span class="macro">!</span>[<span class="number">1</span>].<span class="ident">into_iter</span>().<span class="ident">collect</span>(); <span class="ident">buf</span>.<span class="ident">reserve</span>(<span class="number">10</span>); <span class="macro">assert</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">capacity</span>() <span class="op">>=</span> <span class="number">11</span>);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%3A%20VecDeque%3Ci32%3E%20%3D%20vec!%5B1%5D.into_iter().collect()%3B%0Abuf.reserve(10)%3B%0Aassert!(buf.capacity()%20%3E%3D%2011)%3B%0A%7D">Run</a></pre> </div><h4 id='method.shrink_to_fit' class="method"><span id='shrink_to_fit.v' class='invisible'><code>fn <a href='#method.shrink_to_fit' class='fnname'>shrink_to_fit</a>(&mut self)</code><div class='since' title='Stable since Rust version 1.5.0'>1.5.0</div></span></h4> <div class='docblock'><p>Shrinks the capacity of the <code>VecDeque</code> as much as possible.</p> <p>It will drop down as close as possible to the length but the allocator may still inform the <code>VecDeque</code> that there is space for a few more elements.</p> <h1 id='examples-8' class='section-header'><a href='#examples-8'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">with_capacity</span>(<span class="number">15</span>); <span class="ident">buf</span>.<span class="ident">extend</span>(<span class="number">0</span>..<span class="number">4</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">capacity</span>(), <span class="number">15</span>); <span class="ident">buf</span>.<span class="ident">shrink_to_fit</span>(); <span class="macro">assert</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">capacity</span>() <span class="op">>=</span> <span class="number">4</span>);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Awith_capacity(15)%3B%0Abuf.extend(0..4)%3B%0Aassert_eq!(buf.capacity()%2C%2015)%3B%0Abuf.shrink_to_fit()%3B%0Aassert!(buf.capacity()%20%3E%3D%204)%3B%0A%7D">Run</a></pre> </div><h4 id='method.truncate' class="method"><span id='truncate.v' class='invisible'><code>fn <a href='#method.truncate' class='fnname'>truncate</a>(&mut self, len: usize)</code><div class='since' title='Stable since Rust version 1.16.0'>1.16.0</div></span></h4> <div class='docblock'><p>Shortens the <code>VecDeque</code>, dropping excess elements from the back.</p> <p>If <code>len</code> is greater than the <code>VecDeque</code>'s current length, this has no effect.</p> <h1 id='examples-9' class='section-header'><a href='#examples-9'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">5</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">10</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">15</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">5</span>, <span class="number">10</span>, <span class="number">15</span>]); <span class="ident">buf</span>.<span class="ident">truncate</span>(<span class="number">1</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">5</span>]);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Abuf.push_back(5)%3B%0Abuf.push_back(10)%3B%0Abuf.push_back(15)%3B%0Aassert_eq!(buf%2C%20%5B5%2C%2010%2C%2015%5D)%3B%0Abuf.truncate(1)%3B%0Aassert_eq!(buf%2C%20%5B5%5D)%3B%0A%7D">Run</a></pre> </div><h4 id='method.iter' class="method"><span id='iter.v' class='invisible'><code>fn <a href='#method.iter' class='fnname'>iter</a>(&self) -> <a class="struct" href="../../collections/vec_deque/struct.Iter.html" title="struct collections::vec_deque::Iter">Iter</a><T></code></span></h4> <div class='docblock'><p>Returns a front-to-back iterator.</p> <h1 id='examples-10' class='section-header'><a href='#examples-10'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">5</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">3</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">4</span>); <span class="kw">let</span> <span class="ident">b</span>: <span class="kw-2">&</span>[_] <span class="op">=</span> <span class="kw-2">&</span>[<span class="kw-2">&</span><span class="number">5</span>, <span class="kw-2">&</span><span class="number">3</span>, <span class="kw-2">&</span><span class="number">4</span>]; <span class="kw">let</span> <span class="ident">c</span>: <span class="ident">Vec</span><span class="op"><</span><span class="kw-2">&</span><span class="ident">i32</span><span class="op">></span> <span class="op">=</span> <span class="ident">buf</span>.<span class="ident">iter</span>().<span class="ident">collect</span>(); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="kw-2">&</span><span class="ident">c</span>[..], <span class="ident">b</span>);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Abuf.push_back(5)%3B%0Abuf.push_back(3)%3B%0Abuf.push_back(4)%3B%0Alet%20b%3A%20%26%5B_%5D%20%3D%20%26%5B%265%2C%20%263%2C%20%264%5D%3B%0Alet%20c%3A%20Vec%3C%26i32%3E%20%3D%20buf.iter().collect()%3B%0Aassert_eq!(%26c%5B..%5D%2C%20b)%3B%0A%7D">Run</a></pre> </div><h4 id='method.iter_mut' class="method"><span id='iter_mut.v' class='invisible'><code>fn <a href='#method.iter_mut' class='fnname'>iter_mut</a>(&mut self) -> <a class="struct" href="../../collections/vec_deque/struct.IterMut.html" title="struct collections::vec_deque::IterMut">IterMut</a><T></code></span></h4> <div class='docblock'><p>Returns a front-to-back iterator that returns mutable references.</p> <h1 id='examples-11' class='section-header'><a href='#examples-11'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">5</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">3</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">4</span>); <span class="kw">for</span> <span class="ident">num</span> <span class="kw">in</span> <span class="ident">buf</span>.<span class="ident">iter_mut</span>() { <span class="kw-2">*</span><span class="ident">num</span> <span class="op">=</span> <span class="kw-2">*</span><span class="ident">num</span> <span class="op">-</span> <span class="number">2</span>; } <span class="kw">let</span> <span class="ident">b</span>: <span class="kw-2">&</span>[_] <span class="op">=</span> <span class="kw-2">&</span>[<span class="kw-2">&</span><span class="kw-2">mut</span> <span class="number">3</span>, <span class="kw-2">&</span><span class="kw-2">mut</span> <span class="number">1</span>, <span class="kw-2">&</span><span class="kw-2">mut</span> <span class="number">2</span>]; <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="kw-2">&</span><span class="ident">buf</span>.<span class="ident">iter_mut</span>().<span class="ident">collect</span>::<span class="op"><</span><span class="ident">Vec</span><span class="op"><</span><span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">i32</span><span class="op">>></span>()[..], <span class="ident">b</span>);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Abuf.push_back(5)%3B%0Abuf.push_back(3)%3B%0Abuf.push_back(4)%3B%0Afor%20num%20in%20buf.iter_mut()%20%7B%0A%20%20%20%20*num%20%3D%20*num%20-%202%3B%0A%7D%0Alet%20b%3A%20%26%5B_%5D%20%3D%20%26%5B%26mut%203%2C%20%26mut%201%2C%20%26mut%202%5D%3B%0Aassert_eq!(%26buf.iter_mut().collect%3A%3A%3CVec%3C%26mut%20i32%3E%3E()%5B..%5D%2C%20b)%3B%0A%7D">Run</a></pre> </div><h4 id='method.as_slices' class="method"><span id='as_slices.v' class='invisible'><code>fn <a href='#method.as_slices' class='fnname'>as_slices</a>(&self) -> (&[T], &[T])</code><div class='since' title='Stable since Rust version 1.5.0'>1.5.0</div></span></h4> <div class='docblock'><p>Returns a pair of slices which contain, in order, the contents of the <code>VecDeque</code>.</p> <h1 id='examples-12' class='section-header'><a href='#examples-12'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">vector</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">vector</span>.<span class="ident">push_back</span>(<span class="number">0</span>); <span class="ident">vector</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">vector</span>.<span class="ident">push_back</span>(<span class="number">2</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">vector</span>.<span class="ident">as_slices</span>(), (<span class="kw-2">&</span>[<span class="number">0</span>, <span class="number">1</span>, <span class="number">2</span>][..], <span class="kw-2">&</span>[][..])); <span class="ident">vector</span>.<span class="ident">push_front</span>(<span class="number">10</span>); <span class="ident">vector</span>.<span class="ident">push_front</span>(<span class="number">9</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">vector</span>.<span class="ident">as_slices</span>(), (<span class="kw-2">&</span>[<span class="number">9</span>, <span class="number">10</span>][..], <span class="kw-2">&</span>[<span class="number">0</span>, <span class="number">1</span>, <span class="number">2</span>][..]));<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20vector%20%3D%20VecDeque%3A%3Anew()%3B%0A%0Avector.push_back(0)%3B%0Avector.push_back(1)%3B%0Avector.push_back(2)%3B%0A%0Aassert_eq!(vector.as_slices()%2C%20(%26%5B0%2C%201%2C%202%5D%5B..%5D%2C%20%26%5B%5D%5B..%5D))%3B%0A%0Avector.push_front(10)%3B%0Avector.push_front(9)%3B%0A%0Aassert_eq!(vector.as_slices()%2C%20(%26%5B9%2C%2010%5D%5B..%5D%2C%20%26%5B0%2C%201%2C%202%5D%5B..%5D))%3B%0A%7D">Run</a></pre> </div><h4 id='method.as_mut_slices' class="method"><span id='as_mut_slices.v' class='invisible'><code>fn <a href='#method.as_mut_slices' class='fnname'>as_mut_slices</a>(&mut self) -> (&mut [T], &mut [T])</code><div class='since' title='Stable since Rust version 1.5.0'>1.5.0</div></span></h4> <div class='docblock'><p>Returns a pair of slices which contain, in order, the contents of the <code>VecDeque</code>.</p> <h1 id='examples-13' class='section-header'><a href='#examples-13'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">vector</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">vector</span>.<span class="ident">push_back</span>(<span class="number">0</span>); <span class="ident">vector</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">vector</span>.<span class="ident">push_front</span>(<span class="number">10</span>); <span class="ident">vector</span>.<span class="ident">push_front</span>(<span class="number">9</span>); <span class="ident">vector</span>.<span class="ident">as_mut_slices</span>().<span class="number">0</span>[<span class="number">0</span>] <span class="op">=</span> <span class="number">42</span>; <span class="ident">vector</span>.<span class="ident">as_mut_slices</span>().<span class="number">1</span>[<span class="number">0</span>] <span class="op">=</span> <span class="number">24</span>; <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">vector</span>.<span class="ident">as_slices</span>(), (<span class="kw-2">&</span>[<span class="number">42</span>, <span class="number">10</span>][..], <span class="kw-2">&</span>[<span class="number">24</span>, <span class="number">1</span>][..]));<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20vector%20%3D%20VecDeque%3A%3Anew()%3B%0A%0Avector.push_back(0)%3B%0Avector.push_back(1)%3B%0A%0Avector.push_front(10)%3B%0Avector.push_front(9)%3B%0A%0Avector.as_mut_slices().0%5B0%5D%20%3D%2042%3B%0Avector.as_mut_slices().1%5B0%5D%20%3D%2024%3B%0Aassert_eq!(vector.as_slices()%2C%20(%26%5B42%2C%2010%5D%5B..%5D%2C%20%26%5B24%2C%201%5D%5B..%5D))%3B%0A%7D">Run</a></pre> </div><h4 id='method.len' class="method"><span id='len.v' class='invisible'><code>fn <a href='#method.len' class='fnname'>len</a>(&self) -> usize</code></span></h4> <div class='docblock'><p>Returns the number of elements in the <code>VecDeque</code>.</p> <h1 id='examples-14' class='section-header'><a href='#examples-14'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">v</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">v</span>.<span class="ident">len</span>(), <span class="number">0</span>); <span class="ident">v</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">v</span>.<span class="ident">len</span>(), <span class="number">1</span>);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20v%20%3D%20VecDeque%3A%3Anew()%3B%0Aassert_eq!(v.len()%2C%200)%3B%0Av.push_back(1)%3B%0Aassert_eq!(v.len()%2C%201)%3B%0A%7D">Run</a></pre> </div><h4 id='method.is_empty' class="method"><span id='is_empty.v' class='invisible'><code>fn <a href='#method.is_empty' class='fnname'>is_empty</a>(&self) -> bool</code></span></h4> <div class='docblock'><p>Returns <code>true</code> if the <code>VecDeque</code> is empty.</p> <h1 id='examples-15' class='section-header'><a href='#examples-15'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">v</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="macro">assert</span><span class="macro">!</span>(<span class="ident">v</span>.<span class="ident">is_empty</span>()); <span class="ident">v</span>.<span class="ident">push_front</span>(<span class="number">1</span>); <span class="macro">assert</span><span class="macro">!</span>(<span class="op">!</span><span class="ident">v</span>.<span class="ident">is_empty</span>());<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20v%20%3D%20VecDeque%3A%3Anew()%3B%0Aassert!(v.is_empty())%3B%0Av.push_front(1)%3B%0Aassert!(!v.is_empty())%3B%0A%7D">Run</a></pre> </div><h4 id='method.drain' class="method"><span id='drain.v' class='invisible'><code>fn <a href='#method.drain' class='fnname'>drain</a><R>(&mut self, range: R) -> <a class="struct" href="../../collections/vec_deque/struct.Drain.html" title="struct collections::vec_deque::Drain">Drain</a><T> <span class="where fmt-newline">where<br> R: <a class="trait" href="../../collections/range/trait.RangeArgument.html" title="trait collections::range::RangeArgument">RangeArgument</a><usize>, </span></code><div class='since' title='Stable since Rust version 1.6.0'>1.6.0</div></span></h4> <div class='docblock'><p>Create a draining iterator that removes the specified range in the <code>VecDeque</code> and yields the removed items.</p> <p>Note 1: The element range is removed even if the iterator is not consumed until the end.</p> <p>Note 2: It is unspecified how many elements are removed from the deque, if the <code>Drain</code> value is not dropped, but the borrow it holds expires (eg. due to mem::forget).</p> <h1 id='panics-2' class='section-header'><a href='#panics-2'>Panics</a></h1> <p>Panics if the starting point is greater than the end point or if the end point is greater than the length of the vector.</p> <h1 id='examples-16' class='section-header'><a href='#examples-16'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">v</span>: <span class="ident">VecDeque</span><span class="op"><</span>_<span class="op">></span> <span class="op">=</span> <span class="macro">vec</span><span class="macro">!</span>[<span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>].<span class="ident">into_iter</span>().<span class="ident">collect</span>(); <span class="kw">let</span> <span class="ident">drained</span> <span class="op">=</span> <span class="ident">v</span>.<span class="ident">drain</span>(<span class="number">2</span>..).<span class="ident">collect</span>::<span class="op"><</span><span class="ident">VecDeque</span><span class="op"><</span>_<span class="op">>></span>(); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">drained</span>, [<span class="number">3</span>]); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">v</span>, [<span class="number">1</span>, <span class="number">2</span>]); <span class="comment">// A full range clears all contents</span> <span class="ident">v</span>.<span class="ident">drain</span>(..); <span class="macro">assert</span><span class="macro">!</span>(<span class="ident">v</span>.<span class="ident">is_empty</span>());<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20v%3A%20VecDeque%3C_%3E%20%3D%20vec!%5B1%2C%202%2C%203%5D.into_iter().collect()%3B%0Alet%20drained%20%3D%20v.drain(2..).collect%3A%3A%3CVecDeque%3C_%3E%3E()%3B%0Aassert_eq!(drained%2C%20%5B3%5D)%3B%0Aassert_eq!(v%2C%20%5B1%2C%202%5D)%3B%0A%0A%2F%2F%20A%20full%20range%20clears%20all%20contents%0Av.drain(..)%3B%0Aassert!(v.is_empty())%3B%0A%7D">Run</a></pre> </div><h4 id='method.clear' class="method"><span id='clear.v' class='invisible'><code>fn <a href='#method.clear' class='fnname'>clear</a>(&mut self)</code></span></h4> <div class='docblock'><p>Clears the buffer, removing all values.</p> <h1 id='examples-17' class='section-header'><a href='#examples-17'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">v</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">v</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">v</span>.<span class="ident">clear</span>(); <span class="macro">assert</span><span class="macro">!</span>(<span class="ident">v</span>.<span class="ident">is_empty</span>());<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20v%20%3D%20VecDeque%3A%3Anew()%3B%0Av.push_back(1)%3B%0Av.clear()%3B%0Aassert!(v.is_empty())%3B%0A%7D">Run</a></pre> </div><h4 id='method.contains' class="method"><span id='contains.v' class='invisible'><code>fn <a href='#method.contains' class='fnname'>contains</a>(&self, x: &T) -> bool <span class="where fmt-newline">where<br> T: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><T>, </span></code><div class='since' title='Stable since Rust version 1.12.0'>1.12.0</div></span></h4> <div class='docblock'><p>Returns <code>true</code> if the <code>VecDeque</code> contains an element equal to the given value.</p> <h1 id='examples-18' class='section-header'><a href='#examples-18'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">vector</span>: <span class="ident">VecDeque</span><span class="op"><</span><span class="ident">u32</span><span class="op">></span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">vector</span>.<span class="ident">push_back</span>(<span class="number">0</span>); <span class="ident">vector</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">vector</span>.<span class="ident">contains</span>(<span class="kw-2">&</span><span class="number">1</span>), <span class="bool-val">true</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">vector</span>.<span class="ident">contains</span>(<span class="kw-2">&</span><span class="number">10</span>), <span class="bool-val">false</span>);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20vector%3A%20VecDeque%3Cu32%3E%20%3D%20VecDeque%3A%3Anew()%3B%0A%0Avector.push_back(0)%3B%0Avector.push_back(1)%3B%0A%0Aassert_eq!(vector.contains(%261)%2C%20true)%3B%0Aassert_eq!(vector.contains(%2610)%2C%20false)%3B%0A%7D">Run</a></pre> </div><h4 id='method.front' class="method"><span id='front.v' class='invisible'><code>fn <a href='#method.front' class='fnname'>front</a>(&self) -> <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a><&T></code></span></h4> <div class='docblock'><p>Provides a reference to the front element, or <code>None</code> if the <code>VecDeque</code> is empty.</p> <h1 id='examples-19' class='section-header'><a href='#examples-19'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">d</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">d</span>.<span class="ident">front</span>(), <span class="prelude-val">None</span>); <span class="ident">d</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">d</span>.<span class="ident">push_back</span>(<span class="number">2</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">d</span>.<span class="ident">front</span>(), <span class="prelude-val">Some</span>(<span class="kw-2">&</span><span class="number">1</span>));<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20d%20%3D%20VecDeque%3A%3Anew()%3B%0Aassert_eq!(d.front()%2C%20None)%3B%0A%0Ad.push_back(1)%3B%0Ad.push_back(2)%3B%0Aassert_eq!(d.front()%2C%20Some(%261))%3B%0A%7D">Run</a></pre> </div><h4 id='method.front_mut' class="method"><span id='front_mut.v' class='invisible'><code>fn <a href='#method.front_mut' class='fnname'>front_mut</a>(&mut self) -> <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut T></code></span></h4> <div class='docblock'><p>Provides a mutable reference to the front element, or <code>None</code> if the <code>VecDeque</code> is empty.</p> <h1 id='examples-20' class='section-header'><a href='#examples-20'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">d</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">d</span>.<span class="ident">front_mut</span>(), <span class="prelude-val">None</span>); <span class="ident">d</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">d</span>.<span class="ident">push_back</span>(<span class="number">2</span>); <span class="kw">match</span> <span class="ident">d</span>.<span class="ident">front_mut</span>() { <span class="prelude-val">Some</span>(<span class="ident">x</span>) <span class="op">=></span> <span class="kw-2">*</span><span class="ident">x</span> <span class="op">=</span> <span class="number">9</span>, <span class="prelude-val">None</span> <span class="op">=></span> (), } <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">d</span>.<span class="ident">front</span>(), <span class="prelude-val">Some</span>(<span class="kw-2">&</span><span class="number">9</span>));<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20d%20%3D%20VecDeque%3A%3Anew()%3B%0Aassert_eq!(d.front_mut()%2C%20None)%3B%0A%0Ad.push_back(1)%3B%0Ad.push_back(2)%3B%0Amatch%20d.front_mut()%20%7B%0A%20%20%20%20Some(x)%20%3D%3E%20*x%20%3D%209%2C%0A%20%20%20%20None%20%3D%3E%20()%2C%0A%7D%0Aassert_eq!(d.front()%2C%20Some(%269))%3B%0A%7D">Run</a></pre> </div><h4 id='method.back' class="method"><span id='back.v' class='invisible'><code>fn <a href='#method.back' class='fnname'>back</a>(&self) -> <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a><&T></code></span></h4> <div class='docblock'><p>Provides a reference to the back element, or <code>None</code> if the <code>VecDeque</code> is empty.</p> <h1 id='examples-21' class='section-header'><a href='#examples-21'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">d</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">d</span>.<span class="ident">back</span>(), <span class="prelude-val">None</span>); <span class="ident">d</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">d</span>.<span class="ident">push_back</span>(<span class="number">2</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">d</span>.<span class="ident">back</span>(), <span class="prelude-val">Some</span>(<span class="kw-2">&</span><span class="number">2</span>));<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20d%20%3D%20VecDeque%3A%3Anew()%3B%0Aassert_eq!(d.back()%2C%20None)%3B%0A%0Ad.push_back(1)%3B%0Ad.push_back(2)%3B%0Aassert_eq!(d.back()%2C%20Some(%262))%3B%0A%7D">Run</a></pre> </div><h4 id='method.back_mut' class="method"><span id='back_mut.v' class='invisible'><code>fn <a href='#method.back_mut' class='fnname'>back_mut</a>(&mut self) -> <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut T></code></span></h4> <div class='docblock'><p>Provides a mutable reference to the back element, or <code>None</code> if the <code>VecDeque</code> is empty.</p> <h1 id='examples-22' class='section-header'><a href='#examples-22'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">d</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">d</span>.<span class="ident">back</span>(), <span class="prelude-val">None</span>); <span class="ident">d</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">d</span>.<span class="ident">push_back</span>(<span class="number">2</span>); <span class="kw">match</span> <span class="ident">d</span>.<span class="ident">back_mut</span>() { <span class="prelude-val">Some</span>(<span class="ident">x</span>) <span class="op">=></span> <span class="kw-2">*</span><span class="ident">x</span> <span class="op">=</span> <span class="number">9</span>, <span class="prelude-val">None</span> <span class="op">=></span> (), } <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">d</span>.<span class="ident">back</span>(), <span class="prelude-val">Some</span>(<span class="kw-2">&</span><span class="number">9</span>));<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20d%20%3D%20VecDeque%3A%3Anew()%3B%0Aassert_eq!(d.back()%2C%20None)%3B%0A%0Ad.push_back(1)%3B%0Ad.push_back(2)%3B%0Amatch%20d.back_mut()%20%7B%0A%20%20%20%20Some(x)%20%3D%3E%20*x%20%3D%209%2C%0A%20%20%20%20None%20%3D%3E%20()%2C%0A%7D%0Aassert_eq!(d.back()%2C%20Some(%269))%3B%0A%7D">Run</a></pre> </div><h4 id='method.pop_front' class="method"><span id='pop_front.v' class='invisible'><code>fn <a href='#method.pop_front' class='fnname'>pop_front</a>(&mut self) -> <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a><T></code></span></h4> <div class='docblock'><p>Removes the first element and returns it, or <code>None</code> if the <code>VecDeque</code> is empty.</p> <h1 id='examples-23' class='section-header'><a href='#examples-23'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">d</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">d</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">d</span>.<span class="ident">push_back</span>(<span class="number">2</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">d</span>.<span class="ident">pop_front</span>(), <span class="prelude-val">Some</span>(<span class="number">1</span>)); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">d</span>.<span class="ident">pop_front</span>(), <span class="prelude-val">Some</span>(<span class="number">2</span>)); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">d</span>.<span class="ident">pop_front</span>(), <span class="prelude-val">None</span>);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20d%20%3D%20VecDeque%3A%3Anew()%3B%0Ad.push_back(1)%3B%0Ad.push_back(2)%3B%0A%0Aassert_eq!(d.pop_front()%2C%20Some(1))%3B%0Aassert_eq!(d.pop_front()%2C%20Some(2))%3B%0Aassert_eq!(d.pop_front()%2C%20None)%3B%0A%7D">Run</a></pre> </div><h4 id='method.push_front' class="method"><span id='push_front.v' class='invisible'><code>fn <a href='#method.push_front' class='fnname'>push_front</a>(&mut self, value: T)</code></span></h4> <div class='docblock'><p>Prepends an element to the <code>VecDeque</code>.</p> <h1 id='examples-24' class='section-header'><a href='#examples-24'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">d</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">d</span>.<span class="ident">push_front</span>(<span class="number">1</span>); <span class="ident">d</span>.<span class="ident">push_front</span>(<span class="number">2</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">d</span>.<span class="ident">front</span>(), <span class="prelude-val">Some</span>(<span class="kw-2">&</span><span class="number">2</span>));<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20d%20%3D%20VecDeque%3A%3Anew()%3B%0Ad.push_front(1)%3B%0Ad.push_front(2)%3B%0Aassert_eq!(d.front()%2C%20Some(%262))%3B%0A%7D">Run</a></pre> </div><h4 id='method.push_back' class="method"><span id='push_back.v' class='invisible'><code>fn <a href='#method.push_back' class='fnname'>push_back</a>(&mut self, value: T)</code></span></h4> <div class='docblock'><p>Appends an element to the back of the <code>VecDeque</code>.</p> <h1 id='examples-25' class='section-header'><a href='#examples-25'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">3</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="number">3</span>, <span class="kw-2">*</span><span class="ident">buf</span>.<span class="ident">back</span>().<span class="ident">unwrap</span>());<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Abuf.push_back(1)%3B%0Abuf.push_back(3)%3B%0Aassert_eq!(3%2C%20*buf.back().unwrap())%3B%0A%7D">Run</a></pre> </div><h4 id='method.pop_back' class="method"><span id='pop_back.v' class='invisible'><code>fn <a href='#method.pop_back' class='fnname'>pop_back</a>(&mut self) -> <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a><T></code></span></h4> <div class='docblock'><p>Removes the last element from the <code>VecDeque</code> and returns it, or <code>None</code> if it is empty.</p> <h1 id='examples-26' class='section-header'><a href='#examples-26'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">pop_back</span>(), <span class="prelude-val">None</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">3</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">pop_back</span>(), <span class="prelude-val">Some</span>(<span class="number">3</span>));<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Aassert_eq!(buf.pop_back()%2C%20None)%3B%0Abuf.push_back(1)%3B%0Abuf.push_back(3)%3B%0Aassert_eq!(buf.pop_back()%2C%20Some(3))%3B%0A%7D">Run</a></pre> </div><h4 id='method.swap_remove_back' class="method"><span id='swap_remove_back.v' class='invisible'><code>fn <a href='#method.swap_remove_back' class='fnname'>swap_remove_back</a>(&mut self, index: usize) -> <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a><T></code><div class='since' title='Stable since Rust version 1.5.0'>1.5.0</div></span></h4> <div class='docblock'><p>Removes an element from anywhere in the <code>VecDeque</code> and returns it, replacing it with the last element.</p> <p>This does not preserve ordering, but is O(1).</p> <p>Returns <code>None</code> if <code>index</code> is out of bounds.</p> <p>Element at index 0 is the front of the queue.</p> <h1 id='examples-27' class='section-header'><a href='#examples-27'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">swap_remove_back</span>(<span class="number">0</span>), <span class="prelude-val">None</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">2</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">3</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>]); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">swap_remove_back</span>(<span class="number">0</span>), <span class="prelude-val">Some</span>(<span class="number">1</span>)); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">3</span>, <span class="number">2</span>]);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Aassert_eq!(buf.swap_remove_back(0)%2C%20None)%3B%0Abuf.push_back(1)%3B%0Abuf.push_back(2)%3B%0Abuf.push_back(3)%3B%0Aassert_eq!(buf%2C%20%5B1%2C%202%2C%203%5D)%3B%0A%0Aassert_eq!(buf.swap_remove_back(0)%2C%20Some(1))%3B%0Aassert_eq!(buf%2C%20%5B3%2C%202%5D)%3B%0A%7D">Run</a></pre> </div><h4 id='method.swap_remove_front' class="method"><span id='swap_remove_front.v' class='invisible'><code>fn <a href='#method.swap_remove_front' class='fnname'>swap_remove_front</a>(&mut self, index: usize) -> <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a><T></code><div class='since' title='Stable since Rust version 1.5.0'>1.5.0</div></span></h4> <div class='docblock'><p>Removes an element from anywhere in the <code>VecDeque</code> and returns it, replacing it with the first element.</p> <p>This does not preserve ordering, but is O(1).</p> <p>Returns <code>None</code> if <code>index</code> is out of bounds.</p> <p>Element at index 0 is the front of the queue.</p> <h1 id='examples-28' class='section-header'><a href='#examples-28'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">swap_remove_front</span>(<span class="number">0</span>), <span class="prelude-val">None</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">2</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">3</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>]); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">swap_remove_front</span>(<span class="number">2</span>), <span class="prelude-val">Some</span>(<span class="number">3</span>)); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">2</span>, <span class="number">1</span>]);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Aassert_eq!(buf.swap_remove_front(0)%2C%20None)%3B%0Abuf.push_back(1)%3B%0Abuf.push_back(2)%3B%0Abuf.push_back(3)%3B%0Aassert_eq!(buf%2C%20%5B1%2C%202%2C%203%5D)%3B%0A%0Aassert_eq!(buf.swap_remove_front(2)%2C%20Some(3))%3B%0Aassert_eq!(buf%2C%20%5B2%2C%201%5D)%3B%0A%7D">Run</a></pre> </div><h4 id='method.insert' class="method"><span id='insert.v' class='invisible'><code>fn <a href='#method.insert' class='fnname'>insert</a>(&mut self, index: usize, value: T)</code><div class='since' title='Stable since Rust version 1.5.0'>1.5.0</div></span></h4> <div class='docblock'><p>Inserts an element at <code>index</code> within the <code>VecDeque</code>, shifting all elements with indices greater than or equal to <code>index</code> towards the back.</p> <p>Element at index 0 is the front of the queue.</p> <h1 id='panics-3' class='section-header'><a href='#panics-3'>Panics</a></h1> <p>Panics if <code>index</code> is greater than <code>VecDeque</code>'s length</p> <h1 id='examples-29' class='section-header'><a href='#examples-29'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">vec_deque</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">vec_deque</span>.<span class="ident">push_back</span>(<span class="string">'a'</span>); <span class="ident">vec_deque</span>.<span class="ident">push_back</span>(<span class="string">'b'</span>); <span class="ident">vec_deque</span>.<span class="ident">push_back</span>(<span class="string">'c'</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">vec_deque</span>, <span class="kw-2">&</span>[<span class="string">'a'</span>, <span class="string">'b'</span>, <span class="string">'c'</span>]); <span class="ident">vec_deque</span>.<span class="ident">insert</span>(<span class="number">1</span>, <span class="string">'d'</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">vec_deque</span>, <span class="kw-2">&</span>[<span class="string">'a'</span>, <span class="string">'d'</span>, <span class="string">'b'</span>, <span class="string">'c'</span>]);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20vec_deque%20%3D%20VecDeque%3A%3Anew()%3B%0Avec_deque.push_back('a')%3B%0Avec_deque.push_back('b')%3B%0Avec_deque.push_back('c')%3B%0Aassert_eq!(vec_deque%2C%20%26%5B'a'%2C%20'b'%2C%20'c'%5D)%3B%0A%0Avec_deque.insert(1%2C%20'd')%3B%0Aassert_eq!(vec_deque%2C%20%26%5B'a'%2C%20'd'%2C%20'b'%2C%20'c'%5D)%3B%0A%7D">Run</a></pre> </div><h4 id='method.remove' class="method"><span id='remove.v' class='invisible'><code>fn <a href='#method.remove' class='fnname'>remove</a>(&mut self, index: usize) -> <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a><T></code></span></h4> <div class='docblock'><p>Removes and returns the element at <code>index</code> from the <code>VecDeque</code>. Whichever end is closer to the removal point will be moved to make room, and all the affected elements will be moved to new positions. Returns <code>None</code> if <code>index</code> is out of bounds.</p> <p>Element at index 0 is the front of the queue.</p> <h1 id='examples-30' class='section-header'><a href='#examples-30'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">1</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">2</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">3</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>]); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>.<span class="ident">remove</span>(<span class="number">1</span>), <span class="prelude-val">Some</span>(<span class="number">2</span>)); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">1</span>, <span class="number">3</span>]);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Abuf.push_back(1)%3B%0Abuf.push_back(2)%3B%0Abuf.push_back(3)%3B%0Aassert_eq!(buf%2C%20%5B1%2C%202%2C%203%5D)%3B%0A%0Aassert_eq!(buf.remove(1)%2C%20Some(2))%3B%0Aassert_eq!(buf%2C%20%5B1%2C%203%5D)%3B%0A%7D">Run</a></pre> </div><h4 id='method.split_off' class="method"><span id='split_off.v' class='invisible'><code>fn <a href='#method.split_off' class='fnname'>split_off</a>(&mut self, at: usize) -> Self</code><div class='since' title='Stable since Rust version 1.4.0'>1.4.0</div></span></h4> <div class='docblock'><p>Splits the collection into two at the given index.</p> <p>Returns a newly allocated <code>Self</code>. <code>self</code> contains elements <code>[0, at)</code>, and the returned <code>Self</code> contains elements <code>[at, len)</code>.</p> <p>Note that the capacity of <code>self</code> does not change.</p> <p>Element at index 0 is the front of the queue.</p> <h1 id='panics-4' class='section-header'><a href='#panics-4'>Panics</a></h1> <p>Panics if <code>at > len</code></p> <h1 id='examples-31' class='section-header'><a href='#examples-31'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span>: <span class="ident">VecDeque</span><span class="op"><</span>_<span class="op">></span> <span class="op">=</span> <span class="macro">vec</span><span class="macro">!</span>[<span class="number">1</span>,<span class="number">2</span>,<span class="number">3</span>].<span class="ident">into_iter</span>().<span class="ident">collect</span>(); <span class="kw">let</span> <span class="ident">buf2</span> <span class="op">=</span> <span class="ident">buf</span>.<span class="ident">split_off</span>(<span class="number">1</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">1</span>]); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf2</span>, [<span class="number">2</span>, <span class="number">3</span>]);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%3A%20VecDeque%3C_%3E%20%3D%20vec!%5B1%2C2%2C3%5D.into_iter().collect()%3B%0Alet%20buf2%20%3D%20buf.split_off(1)%3B%0Aassert_eq!(buf%2C%20%5B1%5D)%3B%0Aassert_eq!(buf2%2C%20%5B2%2C%203%5D)%3B%0A%7D">Run</a></pre> </div><h4 id='method.append' class="method"><span id='append.v' class='invisible'><code>fn <a href='#method.append' class='fnname'>append</a>(&mut self, other: &mut Self)</code><div class='since' title='Stable since Rust version 1.4.0'>1.4.0</div></span></h4> <div class='docblock'><p>Moves all the elements of <code>other</code> into <code>Self</code>, leaving <code>other</code> empty.</p> <h1 id='panics-5' class='section-header'><a href='#panics-5'>Panics</a></h1> <p>Panics if the new number of elements in self overflows a <code>usize</code>.</p> <h1 id='examples-32' class='section-header'><a href='#examples-32'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span>: <span class="ident">VecDeque</span><span class="op"><</span>_<span class="op">></span> <span class="op">=</span> <span class="macro">vec</span><span class="macro">!</span>[<span class="number">1</span>, <span class="number">2</span>].<span class="ident">into_iter</span>().<span class="ident">collect</span>(); <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf2</span>: <span class="ident">VecDeque</span><span class="op"><</span>_<span class="op">></span> <span class="op">=</span> <span class="macro">vec</span><span class="macro">!</span>[<span class="number">3</span>, <span class="number">4</span>].<span class="ident">into_iter</span>().<span class="ident">collect</span>(); <span class="ident">buf</span>.<span class="ident">append</span>(<span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">buf2</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>, <span class="number">4</span>]); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf2</span>, []);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%3A%20VecDeque%3C_%3E%20%3D%20vec!%5B1%2C%202%5D.into_iter().collect()%3B%0Alet%20mut%20buf2%3A%20VecDeque%3C_%3E%20%3D%20vec!%5B3%2C%204%5D.into_iter().collect()%3B%0Abuf.append(%26mut%20buf2)%3B%0Aassert_eq!(buf%2C%20%5B1%2C%202%2C%203%2C%204%5D)%3B%0Aassert_eq!(buf2%2C%20%5B%5D)%3B%0A%7D">Run</a></pre> </div><h4 id='method.retain' class="method"><span id='retain.v' class='invisible'><code>fn <a href='#method.retain' class='fnname'>retain</a><F>(&mut self, f: F) <span class="where fmt-newline">where<br> F: <a class="trait" href="../../core/ops/trait.FnMut.html" title="trait core::ops::FnMut">FnMut</a>(&T) -> bool, </span></code><div class='since' title='Stable since Rust version 1.4.0'>1.4.0</div></span></h4> <div class='docblock'><p>Retains only the elements specified by the predicate.</p> <p>In other words, remove all elements <code>e</code> such that <code>f(&e)</code> returns false. This method operates in place and preserves the order of the retained elements.</p> <h1 id='examples-33' class='section-header'><a href='#examples-33'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">buf</span>.<span class="ident">extend</span>(<span class="number">1</span>..<span class="number">5</span>); <span class="ident">buf</span>.<span class="ident">retain</span>(<span class="op">|</span><span class="kw-2">&</span><span class="ident">x</span><span class="op">|</span> <span class="ident">x</span><span class="op">%</span><span class="number">2</span> <span class="op">==</span> <span class="number">0</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">2</span>, <span class="number">4</span>]);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Abuf.extend(1..5)%3B%0Abuf.retain(%7C%26x%7C%20x%252%20%3D%3D%200)%3B%0Aassert_eq!(buf%2C%20%5B2%2C%204%5D)%3B%0A%7D">Run</a></pre> </div><h4 id='method.place_back' class="method"><span id='place_back.v' class='invisible'><code>fn <a href='#method.place_back' class='fnname'>place_back</a>(&mut self) -> <a class="struct" href="../../collections/vec_deque/struct.PlaceBack.html" title="struct collections::vec_deque::PlaceBack">PlaceBack</a><T></code></span></h4> <div class='stability'><div class='stab unstable'><details><summary><span class=microscope>🔬</span> This is a nightly-only experimental API. (<code>collection_placement </code><a href="https://github.com/rust-lang/rust/issues/30172">#30172</a>)</summary><p>placement protocol is subject to change</p> </details></div></div><div class='docblock'><p>Returns a place for insertion at the back of the <code>VecDeque</code>.</p> <p>Using this method with placement syntax is equivalent to <a href="#method.push_back"><code>push_back</code></a>, but may be more efficient.</p> <h1 id='examples-34' class='section-header'><a href='#examples-34'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="attribute">#<span class="op">!</span>[<span class="ident">feature</span>(<span class="ident">collection_placement</span>)]</span> <span class="attribute">#<span class="op">!</span>[<span class="ident">feature</span>(<span class="ident">placement_in_syntax</span>)]</span> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">buf</span>.<span class="ident">place_back</span>() <- <span class="number">3</span>; <span class="ident">buf</span>.<span class="ident">place_back</span>() <- <span class="number">4</span>; <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="kw-2">&</span><span class="ident">buf</span>, <span class="kw-2">&</span>[<span class="number">3</span>, <span class="number">4</span>]);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=%23!%5Bfeature(collection_placement)%5D%0A%23!%5Bfeature(placement_in_syntax)%5D%0A%0Aextern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Abuf.place_back()%20%3C-%203%3B%0Abuf.place_back()%20%3C-%204%3B%0Aassert_eq!(%26buf%2C%20%26%5B3%2C%204%5D)%3B%0A%7D&version=nightly">Run</a></pre> </div><h4 id='method.place_front' class="method"><span id='place_front.v' class='invisible'><code>fn <a href='#method.place_front' class='fnname'>place_front</a>(&mut self) -> <a class="struct" href="../../collections/vec_deque/struct.PlaceFront.html" title="struct collections::vec_deque::PlaceFront">PlaceFront</a><T></code></span></h4> <div class='stability'><div class='stab unstable'><details><summary><span class=microscope>🔬</span> This is a nightly-only experimental API. (<code>collection_placement </code><a href="https://github.com/rust-lang/rust/issues/30172">#30172</a>)</summary><p>placement protocol is subject to change</p> </details></div></div><div class='docblock'><p>Returns a place for insertion at the front of the <code>VecDeque</code>.</p> <p>Using this method with placement syntax is equivalent to <a href="#method.push_front"><code>push_front</code></a>, but may be more efficient.</p> <h1 id='examples-35' class='section-header'><a href='#examples-35'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="attribute">#<span class="op">!</span>[<span class="ident">feature</span>(<span class="ident">collection_placement</span>)]</span> <span class="attribute">#<span class="op">!</span>[<span class="ident">feature</span>(<span class="ident">placement_in_syntax</span>)]</span> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">buf</span>.<span class="ident">place_front</span>() <- <span class="number">3</span>; <span class="ident">buf</span>.<span class="ident">place_front</span>() <- <span class="number">4</span>; <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="kw-2">&</span><span class="ident">buf</span>, <span class="kw-2">&</span>[<span class="number">4</span>, <span class="number">3</span>]);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=%23!%5Bfeature(collection_placement)%5D%0A%23!%5Bfeature(placement_in_syntax)%5D%0A%0Aextern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Abuf.place_front()%20%3C-%203%3B%0Abuf.place_front()%20%3C-%204%3B%0Aassert_eq!(%26buf%2C%20%26%5B4%2C%203%5D)%3B%0A%7D&version=nightly">Run</a></pre> </div></div><h3 class='impl'><span class='in-band'><code>impl<T: <a class="trait" href="../../core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#1814-1845' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.resize' class="method"><span id='resize.v' class='invisible'><code>fn <a href='#method.resize' class='fnname'>resize</a>(&mut self, new_len: usize, value: T)</code><div class='since' title='Stable since Rust version 1.16.0'>1.16.0</div></span></h4> <div class='docblock'><p>Modifies the <code>VecDeque</code> in-place so that <code>len()</code> is equal to new_len, either by removing excess elements or by appending clones of <code>value</code> to the back.</p> <h1 id='examples-36' class='section-header'><a href='#examples-36'>Examples</a></h1> <pre class="rust rust-example-rendered"> <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">collections</span>::<span class="ident">VecDeque</span>; <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">buf</span> <span class="op">=</span> <span class="ident">VecDeque</span>::<span class="ident">new</span>(); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">5</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">10</span>); <span class="ident">buf</span>.<span class="ident">push_back</span>(<span class="number">15</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">5</span>, <span class="number">10</span>, <span class="number">15</span>]); <span class="ident">buf</span>.<span class="ident">resize</span>(<span class="number">2</span>, <span class="number">0</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">5</span>, <span class="number">10</span>]); <span class="ident">buf</span>.<span class="ident">resize</span>(<span class="number">5</span>, <span class="number">20</span>); <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">buf</span>, [<span class="number">5</span>, <span class="number">10</span>, <span class="number">20</span>, <span class="number">20</span>, <span class="number">20</span>]);<a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=extern%20crate%20collections%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Acollections%3A%3AVecDeque%3B%0A%0Alet%20mut%20buf%20%3D%20VecDeque%3A%3Anew()%3B%0Abuf.push_back(5)%3B%0Abuf.push_back(10)%3B%0Abuf.push_back(15)%3B%0Aassert_eq!(buf%2C%20%5B5%2C%2010%2C%2015%5D)%3B%0A%0Abuf.resize(2%2C%200)%3B%0Aassert_eq!(buf%2C%20%5B5%2C%2010%5D)%3B%0A%0Abuf.resize(5%2C%2020)%3B%0Aassert_eq!(buf%2C%20%5B5%2C%2010%2C%2020%2C%2020%2C%2020%5D)%3B%0A%7D">Run</a></pre> </div></div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl<T: <a class="trait" href="../../core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> <a class="trait" href="../../core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#69-73' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='../../core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span></h4> <div class='docblock'><p>Returns a copy of the value. <a href="../../core/clone/trait.Clone.html#tymethod.clone">Read more</a></p> </div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><code>fn <a href='../../core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: &Self)</code></span></h4> <div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="../../core/clone/trait.Clone.html#method.clone_from">Read more</a></p> </div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../../core/ops/trait.Drop.html" title="trait core::ops::Drop">Drop</a> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#76-86' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.drop' class="method"><span id='drop.v' class='invisible'><code>fn <a href='../../core/ops/trait.Drop.html#tymethod.drop' class='fnname'>drop</a>(&mut self)</code></span></h4> <div class='docblock'><p>A method called when the value goes out of scope. <a href="../../core/ops/trait.Drop.html#tymethod.drop">Read more</a></p> </div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../../core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#89-95' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.default' class="method"><span id='default.v' class='invisible'><code>fn <a href='../../core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -> <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span></h4> <div class='docblock'><p>Creates an empty <code>VecDeque<T></code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2235-2271' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A>) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne' class="method"><span id='ne.v' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<A: <a class="trait" href="../../core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a>> <a class="trait" href="../../core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2274' title='goto source code'>[src]</a></span></h3> <div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../../collections/vec/struct.Vec.html" title="struct collections::vec::Vec">Vec</a><B>> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-1' class="method"><span id='eq.v-1' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="struct" href="../../collections/vec/struct.Vec.html" title="struct collections::vec::Vec">Vec</a><B>) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-1' class="method"><span id='ne.v-1' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-2' class="method"><span id='eq.v-2' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-2' class="method"><span id='ne.v-2' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-3' class="method"><span id='eq.v-3' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-3' class="method"><span id='ne.v-3' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 0]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-4' class="method"><span id='eq.v-4' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 0]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-4' class="method"><span id='ne.v-4' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 0]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-5' class="method"><span id='eq.v-5' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 0]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-5' class="method"><span id='ne.v-5' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 0]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-6' class="method"><span id='eq.v-6' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 0]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-6' class="method"><span id='ne.v-6' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 1]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-7' class="method"><span id='eq.v-7' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 1]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-7' class="method"><span id='ne.v-7' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 1]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-8' class="method"><span id='eq.v-8' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 1]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-8' class="method"><span id='ne.v-8' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 1]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-9' class="method"><span id='eq.v-9' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 1]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-9' class="method"><span id='ne.v-9' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 2]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-10' class="method"><span id='eq.v-10' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 2]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-10' class="method"><span id='ne.v-10' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 2]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-11' class="method"><span id='eq.v-11' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 2]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-11' class="method"><span id='ne.v-11' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 2]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-12' class="method"><span id='eq.v-12' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 2]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-12' class="method"><span id='ne.v-12' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 3]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-13' class="method"><span id='eq.v-13' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 3]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-13' class="method"><span id='ne.v-13' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 3]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-14' class="method"><span id='eq.v-14' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 3]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-14' class="method"><span id='ne.v-14' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 3]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-15' class="method"><span id='eq.v-15' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 3]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-15' class="method"><span id='ne.v-15' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 4]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-16' class="method"><span id='eq.v-16' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 4]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-16' class="method"><span id='ne.v-16' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 4]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-17' class="method"><span id='eq.v-17' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 4]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-17' class="method"><span id='ne.v-17' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 4]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-18' class="method"><span id='eq.v-18' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 4]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-18' class="method"><span id='ne.v-18' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 5]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-19' class="method"><span id='eq.v-19' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 5]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-19' class="method"><span id='ne.v-19' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 5]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-20' class="method"><span id='eq.v-20' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 5]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-20' class="method"><span id='ne.v-20' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 5]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-21' class="method"><span id='eq.v-21' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 5]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-21' class="method"><span id='ne.v-21' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 6]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-22' class="method"><span id='eq.v-22' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 6]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-22' class="method"><span id='ne.v-22' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 6]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-23' class="method"><span id='eq.v-23' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 6]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-23' class="method"><span id='ne.v-23' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 6]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-24' class="method"><span id='eq.v-24' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 6]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-24' class="method"><span id='ne.v-24' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 7]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-25' class="method"><span id='eq.v-25' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 7]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-25' class="method"><span id='ne.v-25' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 7]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-26' class="method"><span id='eq.v-26' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 7]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-26' class="method"><span id='ne.v-26' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 7]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-27' class="method"><span id='eq.v-27' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 7]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-27' class="method"><span id='ne.v-27' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 8]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-28' class="method"><span id='eq.v-28' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 8]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-28' class="method"><span id='ne.v-28' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 8]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-29' class="method"><span id='eq.v-29' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 8]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-29' class="method"><span id='ne.v-29' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 8]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-30' class="method"><span id='eq.v-30' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 8]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-30' class="method"><span id='ne.v-30' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 9]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-31' class="method"><span id='eq.v-31' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 9]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-31' class="method"><span id='ne.v-31' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 9]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-32' class="method"><span id='eq.v-32' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 9]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-32' class="method"><span id='ne.v-32' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 9]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-33' class="method"><span id='eq.v-33' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 9]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-33' class="method"><span id='ne.v-33' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 10]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-34' class="method"><span id='eq.v-34' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 10]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-34' class="method"><span id='ne.v-34' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 10]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-35' class="method"><span id='eq.v-35' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 10]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-35' class="method"><span id='ne.v-35' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 10]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-36' class="method"><span id='eq.v-36' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 10]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-36' class="method"><span id='ne.v-36' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 11]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-37' class="method"><span id='eq.v-37' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 11]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-37' class="method"><span id='ne.v-37' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 11]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-38' class="method"><span id='eq.v-38' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 11]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-38' class="method"><span id='ne.v-38' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 11]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-39' class="method"><span id='eq.v-39' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 11]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-39' class="method"><span id='ne.v-39' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 12]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-40' class="method"><span id='eq.v-40' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 12]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-40' class="method"><span id='ne.v-40' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 12]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-41' class="method"><span id='eq.v-41' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 12]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-41' class="method"><span id='ne.v-41' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 12]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-42' class="method"><span id='eq.v-42' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 12]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-42' class="method"><span id='ne.v-42' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 13]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-43' class="method"><span id='eq.v-43' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 13]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-43' class="method"><span id='ne.v-43' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 13]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-44' class="method"><span id='eq.v-44' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 13]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-44' class="method"><span id='ne.v-44' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 13]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-45' class="method"><span id='eq.v-45' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 13]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-45' class="method"><span id='ne.v-45' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 14]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-46' class="method"><span id='eq.v-46' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 14]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-46' class="method"><span id='ne.v-46' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 14]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-47' class="method"><span id='eq.v-47' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 14]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-47' class="method"><span id='ne.v-47' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 14]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-48' class="method"><span id='eq.v-48' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 14]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-48' class="method"><span id='ne.v-48' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 15]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-49' class="method"><span id='eq.v-49' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 15]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-49' class="method"><span id='ne.v-49' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 15]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-50' class="method"><span id='eq.v-50' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 15]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-50' class="method"><span id='ne.v-50' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 15]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-51' class="method"><span id='eq.v-51' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 15]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-51' class="method"><span id='ne.v-51' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 16]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-52' class="method"><span id='eq.v-52' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 16]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-52' class="method"><span id='ne.v-52' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 16]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-53' class="method"><span id='eq.v-53' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 16]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-53' class="method"><span id='ne.v-53' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 16]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-54' class="method"><span id='eq.v-54' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 16]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-54' class="method"><span id='ne.v-54' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 17]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-55' class="method"><span id='eq.v-55' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 17]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-55' class="method"><span id='ne.v-55' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 17]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-56' class="method"><span id='eq.v-56' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 17]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-56' class="method"><span id='ne.v-56' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 17]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-57' class="method"><span id='eq.v-57' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 17]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-57' class="method"><span id='ne.v-57' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 18]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-58' class="method"><span id='eq.v-58' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 18]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-58' class="method"><span id='ne.v-58' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 18]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-59' class="method"><span id='eq.v-59' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 18]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-59' class="method"><span id='ne.v-59' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 18]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-60' class="method"><span id='eq.v-60' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 18]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-60' class="method"><span id='ne.v-60' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 19]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-61' class="method"><span id='eq.v-61' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 19]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-61' class="method"><span id='ne.v-61' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 19]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-62' class="method"><span id='eq.v-62' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 19]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-62' class="method"><span id='ne.v-62' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 19]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-63' class="method"><span id='eq.v-63' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 19]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-63' class="method"><span id='ne.v-63' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 20]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-64' class="method"><span id='eq.v-64' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 20]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-64' class="method"><span id='ne.v-64' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 20]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-65' class="method"><span id='eq.v-65' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 20]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-65' class="method"><span id='ne.v-65' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 20]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-66' class="method"><span id='eq.v-66' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 20]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-66' class="method"><span id='ne.v-66' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 21]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-67' class="method"><span id='eq.v-67' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 21]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-67' class="method"><span id='ne.v-67' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 21]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-68' class="method"><span id='eq.v-68' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 21]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-68' class="method"><span id='ne.v-68' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 21]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-69' class="method"><span id='eq.v-69' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 21]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-69' class="method"><span id='ne.v-69' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 22]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-70' class="method"><span id='eq.v-70' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 22]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-70' class="method"><span id='ne.v-70' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 22]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-71' class="method"><span id='eq.v-71' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 22]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-71' class="method"><span id='ne.v-71' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 22]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-72' class="method"><span id='eq.v-72' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 22]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-72' class="method"><span id='ne.v-72' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 23]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-73' class="method"><span id='eq.v-73' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 23]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-73' class="method"><span id='ne.v-73' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 23]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-74' class="method"><span id='eq.v-74' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 23]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-74' class="method"><span id='ne.v-74' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 23]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-75' class="method"><span id='eq.v-75' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 23]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-75' class="method"><span id='ne.v-75' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 24]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-76' class="method"><span id='eq.v-76' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 24]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-76' class="method"><span id='ne.v-76' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 24]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-77' class="method"><span id='eq.v-77' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 24]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-77' class="method"><span id='ne.v-77' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 24]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-78' class="method"><span id='eq.v-78' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 24]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-78' class="method"><span id='ne.v-78' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 25]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-79' class="method"><span id='eq.v-79' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 25]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-79' class="method"><span id='ne.v-79' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 25]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-80' class="method"><span id='eq.v-80' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 25]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-80' class="method"><span id='ne.v-80' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 25]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-81' class="method"><span id='eq.v-81' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 25]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-81' class="method"><span id='ne.v-81' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 26]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-82' class="method"><span id='eq.v-82' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 26]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-82' class="method"><span id='ne.v-82' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 26]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-83' class="method"><span id='eq.v-83' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 26]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-83' class="method"><span id='ne.v-83' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 26]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-84' class="method"><span id='eq.v-84' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 26]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-84' class="method"><span id='ne.v-84' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 27]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-85' class="method"><span id='eq.v-85' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 27]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-85' class="method"><span id='ne.v-85' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 27]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-86' class="method"><span id='eq.v-86' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 27]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-86' class="method"><span id='ne.v-86' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 27]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-87' class="method"><span id='eq.v-87' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 27]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-87' class="method"><span id='ne.v-87' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 28]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-88' class="method"><span id='eq.v-88' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 28]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-88' class="method"><span id='ne.v-88' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 28]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-89' class="method"><span id='eq.v-89' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 28]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-89' class="method"><span id='ne.v-89' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 28]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-90' class="method"><span id='eq.v-90' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 28]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-90' class="method"><span id='ne.v-90' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 29]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-91' class="method"><span id='eq.v-91' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 29]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-91' class="method"><span id='ne.v-91' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 29]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-92' class="method"><span id='eq.v-92' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 29]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-92' class="method"><span id='ne.v-92' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 29]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-93' class="method"><span id='eq.v-93' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 29]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-93' class="method"><span id='ne.v-93' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 30]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-94' class="method"><span id='eq.v-94' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 30]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-94' class="method"><span id='ne.v-94' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 30]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-95' class="method"><span id='eq.v-95' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 30]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-95' class="method"><span id='ne.v-95' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 30]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-96' class="method"><span id='eq.v-96' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 30]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-96' class="method"><span id='ne.v-96' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 31]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-97' class="method"><span id='eq.v-97' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 31]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-97' class="method"><span id='ne.v-97' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 31]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-98' class="method"><span id='eq.v-98' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 31]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-98' class="method"><span id='ne.v-98' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 31]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-99' class="method"><span id='eq.v-99' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 31]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-99' class="method"><span id='ne.v-99' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><[B; 32]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-100' class="method"><span id='eq.v-100' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &[B; 32]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-100' class="method"><span id='ne.v-100' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b [B; 32]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-101' class="method"><span id='eq.v-101' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b [B; 32]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-101' class="method"><span id='ne.v-101' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, 'b, A: <a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, B> <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><&'b mut [B; 32]> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.17.0'>1.17.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2282-2291' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.eq-102' class="method"><span id='eq.v-102' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &&'b mut [B; 32]) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="../../core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p> </div><h4 id='method.ne-102' class="method"><span id='ne.v-102' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<A: <a class="trait" href="../../core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a>> <a class="trait" href="../../core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2317-2321' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.partial_cmp' class="method"><span id='partial_cmp.v' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, other: &<a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A>) -> <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="../../core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code></span></h4> <div class='docblock'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="../../core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p> </div><h4 id='method.lt' class="method"><span id='lt.v' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialOrd.html#method.lt' class='fnname'>lt</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="../../core/cmp/trait.PartialOrd.html#method.lt">Read more</a></p> </div><h4 id='method.le' class="method"><span id='le.v' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialOrd.html#method.le' class='fnname'>le</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code> operator. <a href="../../core/cmp/trait.PartialOrd.html#method.le">Read more</a></p> </div><h4 id='method.gt' class="method"><span id='gt.v' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialOrd.html#method.gt' class='fnname'>gt</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code> operator. <a href="../../core/cmp/trait.PartialOrd.html#method.gt">Read more</a></p> </div><h4 id='method.ge' class="method"><span id='ge.v' class='invisible'><code>fn <a href='../../core/cmp/trait.PartialOrd.html#method.ge' class='fnname'>ge</a>(&self, other: &Rhs) -> bool</code></span></h4> <div class='docblock'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code> operator. <a href="../../core/cmp/trait.PartialOrd.html#method.ge">Read more</a></p> </div></div><h3 class='impl'><span class='in-band'><code>impl<A: <a class="trait" href="../../core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>> <a class="trait" href="../../core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2324-2329' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.cmp' class="method"><span id='cmp.v' class='invisible'><code>fn <a href='../../core/cmp/trait.Ord.html#tymethod.cmp' class='fnname'>cmp</a>(&self, other: &<a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A>) -> <a class="enum" href="../../core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></code></span></h4> <div class='docblock'><p>This method returns an <code>Ordering</code> between <code>self</code> and <code>other</code>. <a href="../../core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></p> </div></div><h3 class='impl'><span class='in-band'><code>impl<A: <a class="trait" href="../../core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>> <a class="trait" href="../../core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2332-2339' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.hash' class="method"><span id='hash.v' class='invisible'><code>fn <a href='../../core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a><H: <a class="trait" href="../../core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>>(&self, state: &mut H)</code></span></h4> <div class='docblock'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="../../core/hash/trait.Hash.html#tymethod.hash">Read more</a></p> </div><h4 id='method.hash_slice' class="method"><span id='hash_slice.v' class='invisible'><code>fn <a href='../../core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a><H>(data: &[Self], state: &mut H) <span class="where fmt-newline">where<br> H: <a class="trait" href="../../core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></code><div class='since' title='Stable since Rust version 1.3.0'>1.3.0</div></span></h4> <div class='docblock'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="../../core/hash/trait.Hash.html#method.hash_slice">Read more</a></p> </div></div><h3 class='impl'><span class='in-band'><code>impl<A> <a class="trait" href="../../core/ops/trait.Index.html" title="trait core::ops::Index">Index</a><usize> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2342-2349' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='associatedtype.Output' class="type"><span id='Output.t' class='invisible'><code>type <a href='../../core/ops/trait.Index.html#associatedtype.Output' class="type">Output</a> = A</code></span></h4> <div class='docblock'><p>The returned type after indexing</p> </div><h4 id='method.index' class="method"><span id='index.v' class='invisible'><code>fn <a href='../../core/ops/trait.Index.html#tymethod.index' class='fnname'>index</a>(&self, index: usize) -> &A</code></span></h4> <div class='docblock'><p>The method for the indexing (<code>container[index]</code>) operation</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<A> <a class="trait" href="../../core/ops/trait.IndexMut.html" title="trait core::ops::IndexMut">IndexMut</a><usize> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2352-2357' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.index_mut' class="method"><span id='index_mut.v' class='invisible'><code>fn <a href='../../core/ops/trait.IndexMut.html#tymethod.index_mut' class='fnname'>index_mut</a>(&mut self, index: usize) -> &mut A</code></span></h4> <div class='docblock'><p>The method for the mutable indexing (<code>container[index]</code>) operation</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<A> <a class="trait" href="../../core/iter/traits/trait.FromIterator.html" title="trait core::iter::traits::FromIterator">FromIterator</a><A> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2360-2368' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.from_iter' class="method"><span id='from_iter.v' class='invisible'><code>fn <a href='../../core/iter/traits/trait.FromIterator.html#tymethod.from_iter' class='fnname'>from_iter</a><T: <a class="trait" href="../../core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a><Item = A>>(iter: T) -> <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A></code></span></h4> <div class='docblock'><p>Creates a value from an iterator. <a href="../../core/iter/traits/trait.FromIterator.html#tymethod.from_iter">Read more</a></p> </div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../../core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2371-2380' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='associatedtype.Item' class="type"><span id='Item.t' class='invisible'><code>type <a href='../../core/iter/traits/trait.IntoIterator.html#associatedtype.Item' class="type">Item</a> = T</code></span></h4> <div class='docblock'><p>The type of the elements being iterated over.</p> </div><h4 id='associatedtype.IntoIter' class="type"><span id='IntoIter.t' class='invisible'><code>type <a href='../../core/iter/traits/trait.IntoIterator.html#associatedtype.IntoIter' class="type">IntoIter</a> = <a class="struct" href="../../collections/vec_deque/struct.IntoIter.html" title="struct collections::vec_deque::IntoIter">IntoIter</a><T></code></span></h4> <div class='docblock'><p>Which kind of iterator are we turning this into?</p> </div><h4 id='method.into_iter' class="method"><span id='into_iter.v' class='invisible'><code>fn <a href='../../core/iter/traits/trait.IntoIterator.html#tymethod.into_iter' class='fnname'>into_iter</a>(self) -> <a class="struct" href="../../collections/vec_deque/struct.IntoIter.html" title="struct collections::vec_deque::IntoIter">IntoIter</a><T></code></span></h4> <div class='docblock'><p>Consumes the list into a front-to-back iterator yielding elements by value.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T> <a class="trait" href="../../core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a> for &'a <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2383-2390' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='associatedtype.Item-1' class="type"><span id='Item.t-1' class='invisible'><code>type <a href='../../core/iter/traits/trait.IntoIterator.html#associatedtype.Item' class="type">Item</a> = &'a T</code></span></h4> <div class='docblock'><p>The type of the elements being iterated over.</p> </div><h4 id='associatedtype.IntoIter-1' class="type"><span id='IntoIter.t-1' class='invisible'><code>type <a href='../../core/iter/traits/trait.IntoIterator.html#associatedtype.IntoIter' class="type">IntoIter</a> = <a class="struct" href="../../collections/vec_deque/struct.Iter.html" title="struct collections::vec_deque::Iter">Iter</a><'a, T></code></span></h4> <div class='docblock'><p>Which kind of iterator are we turning this into?</p> </div><h4 id='method.into_iter-1' class="method"><span id='into_iter.v-1' class='invisible'><code>fn <a href='../../core/iter/traits/trait.IntoIterator.html#tymethod.into_iter' class='fnname'>into_iter</a>(self) -> <a class="struct" href="../../collections/vec_deque/struct.Iter.html" title="struct collections::vec_deque::Iter">Iter</a><'a, T></code></span></h4> <div class='docblock'><p>Creates an iterator from a value. <a href="../../core/iter/traits/trait.IntoIterator.html#tymethod.into_iter">Read more</a></p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T> <a class="trait" href="../../core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a> for &'a mut <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2393-2400' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='associatedtype.Item-2' class="type"><span id='Item.t-2' class='invisible'><code>type <a href='../../core/iter/traits/trait.IntoIterator.html#associatedtype.Item' class="type">Item</a> = &'a mut T</code></span></h4> <div class='docblock'><p>The type of the elements being iterated over.</p> </div><h4 id='associatedtype.IntoIter-2' class="type"><span id='IntoIter.t-2' class='invisible'><code>type <a href='../../core/iter/traits/trait.IntoIterator.html#associatedtype.IntoIter' class="type">IntoIter</a> = <a class="struct" href="../../collections/vec_deque/struct.IterMut.html" title="struct collections::vec_deque::IterMut">IterMut</a><'a, T></code></span></h4> <div class='docblock'><p>Which kind of iterator are we turning this into?</p> </div><h4 id='method.into_iter-2' class="method"><span id='into_iter.v-2' class='invisible'><code>fn <a href='../../core/iter/traits/trait.IntoIterator.html#tymethod.into_iter' class='fnname'>into_iter</a>(self) -> <a class="struct" href="../../collections/vec_deque/struct.IterMut.html" title="struct collections::vec_deque::IterMut">IterMut</a><'a, T></code></span></h4> <div class='docblock'><p>Creates an iterator from a value. <a href="../../core/iter/traits/trait.IntoIterator.html#tymethod.into_iter">Read more</a></p> </div></div><h3 class='impl'><span class='in-band'><code>impl<A> <a class="trait" href="../../core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><A> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><A></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2403-2409' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.extend' class="method"><span id='extend.v' class='invisible'><code>fn <a href='../../core/iter/traits/trait.Extend.html#tymethod.extend' class='fnname'>extend</a><T: <a class="trait" href="../../core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a><Item = A>>(&mut self, iter: T)</code></span></h4> <div class='docblock'><p>Extends a collection with the contents of an iterator. <a href="../../core/iter/traits/trait.Extend.html#tymethod.extend">Read more</a></p> </div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: 'a + <a class="trait" href="../../core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>> <a class="trait" href="../../core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><&'a T> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.2.0'>1.2.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2412-2416' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.extend-1' class="method"><span id='extend.v-1' class='invisible'><code>fn <a href='../../core/iter/traits/trait.Extend.html#tymethod.extend' class='fnname'>extend</a><I: <a class="trait" href="../../core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a><Item = &'a T>>(&mut self, iter: I)</code></span></h4> <div class='docblock'><p>Extends a collection with the contents of an iterator. <a href="../../core/iter/traits/trait.Extend.html#tymethod.extend">Read more</a></p> </div></div><h3 class='impl'><span class='in-band'><code>impl<T: <a class="trait" href="../../collections/fmt/trait.Debug.html" title="trait collections::fmt::Debug">Debug</a>> <a class="trait" href="../../collections/fmt/trait.Debug.html" title="trait collections::fmt::Debug">Debug</a> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2419-2423' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='../../collections/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &mut <a class="struct" href="../../collections/fmt/struct.Formatter.html" title="struct collections::fmt::Formatter">Formatter</a>) -> <a class="type" href="../../collections/fmt/type.Result.html" title="type collections::fmt::Result">Result</a></code></span></h4> <div class='docblock'><p>Formats the value using the given formatter.</p> </div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../../core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../collections/vec/struct.Vec.html" title="struct collections::vec::Vec">Vec</a><T>> for <a class="struct" href="../../collections/vec_deque/struct.VecDeque.html" title="struct collections::vec_deque::VecDeque">VecDeque</a><T></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.10.0'>1.10.0</div><a class='srclink' href='../../src/collections/vec_deque.rs.html#2426-2449' title='goto source code'>[src]</a></span></h3> <div class='impl-items'><h4 id='method.from' class="method"><span id='from.v' class='invisible'><code>fn <a href='../../core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(other: <a class="struct" href="../../collections/vec/struct.Vec.html" title="struct collections::vec::Vec">Vec</a><T>) -> Self</code></span></h4> <div class='docblock'><p>Performs the conversion.</p> </div></div></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>?</dt> <dd>Show this help dialog</dd> <dt>S</dt> <dd>Focus the search field</dd> <dt>⇤</dt> <dd>Move up in search results</dd> <dt>⇥</dt> <dd>Move down in search results</dd> <dt>⏎</dt> <dd>Go to active search result</dd> <dt>+</dt> <dd>Collapse/expand 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> </div> </div> </aside> <script> window.rootPath = "../../"; window.currentCrate = "collections"; </script> <script src="../../main.js"></script> <script defer src="../../search-index.js"></script> </body> </html>