<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `Drain` struct in crate `actix_web`."><metaname="keywords"content="rust, rustlang, rust-lang, Drain"><title>actix_web::http::header::Drain - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><pclass='location'>Struct Drain</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Drop">Drop</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Iterator">Iterator</a><ahref="#impl-Send">Send</a><ahref="#impl-Debug">Debug</a></div></div><pclass='location'><ahref='../../index.html'>actix_web</a>::<wbr><ahref='../index.html'>http</a>::<wbr><ahref='index.html'>header</a></p><script>window.sidebarCurrent={name:'Drain',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><inputclass="search-input"name="search"autocomplete="off"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='in-band'>Struct <ahref='../../index.html'>actix_web</a>::<wbr><ahref='../index.html'>http</a>::<wbr><ahref='index.html'>header</a>::<wbr><aclass="struct"href=''>Drain</a></span><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/map.rs.html#130-134'title='goto source code'>[src]</a></span></h1><divclass="docblock type-decl"><preclass='rust struct'>pub struct Drain<'a, T><spanclass="where fmt-newline">where<br> T: 'a, </span> { /* fields omitted */ }</pre></div><divclass='docblock'><p>A drain iterator for <code>HeaderMap</code>.</p>
<divid='implementations-list'><h3id='impl-Drop'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<'a, T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html"title="trait core::ops::drop::Drop">Drop</a> for <aclass="struct"href="../../../actix_web/http/header/struct.Drain.html"title="struct actix_web::http::header::Drain">Drain</a><'a, T></code><ahref='#impl-Drop'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/map.rs.html#2092-2100'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.drop'class="method"><spanid='drop.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop'class='fnname'>drop</a>(&mut self)</code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/map.rs.html#2093-2099'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Executes the destructor for this type. <ahref="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop">Read more</a></p>
</div><h4id='method.next'class="method"><spanid='next.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#tymethod.next'class='fnname'>next</a>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<<aclass="struct"href="../../../actix_web/http/header/struct.Drain.html"title="struct actix_web::http::header::Drain">Drain</a><'a, T> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/map.rs.html#2054-2084'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Advances the iterator and returns the next value. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#tymethod.next">Read more</a></p>
</div><h4id='method.size_hint'class="method"><spanid='size_hint.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.size_hint'class='fnname'>size_hint</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/map.rs.html#2086-2089'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the bounds on the remaining length of the iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.size_hint">Read more</a></p>
</div><h4id='method.count'class="method"><spanid='count.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.count'class='fnname'>count</a>(self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#188-191'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Consumes the iterator, counting the number of iterations and returning it. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.count">Read more</a></p>
</div><h4id='method.last'class="method"><spanid='last.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.last'class='fnname'>last</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#214-218'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Consumes the iterator, returning the last element. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.last">Read more</a></p>
</div><h4id='method.nth'class="method"><spanid='nth.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.nth'class='fnname'>nth</a>(&mut self, n: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#263-269'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the <code>n</code>th element of the iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.nth">Read more</a></p>
</div><h4id='method.step_by'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.StepBy.html"title="struct core::iter::StepBy">StepBy</a><I></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.StepBy.html"title="struct core::iter::StepBy">StepBy</a><I></h3><codeclass="content"><spanclass="where fmt-newline">impl<I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.StepBy.html"title="struct core::iter::StepBy">StepBy</a><I><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='step_by.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.step_by'class='fnname'>step_by</a>(self, step: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.StepBy.html"title="struct core::iter::StepBy">StepBy</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.28.0'>1.28.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#317-320'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator starting at the same point, but stepping by the given amount at each iteration. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.step_by">Read more</a></p>
</div><h4id='method.chain'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Chain.html"title="struct core::iter::Chain">Chain</a><A, B></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Chain.html"title="struct core::iter::Chain">Chain</a><A, B></h3><codeclass="content"><spanclass="where fmt-newline">impl<A, B><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Chain.html"title="struct core::iter::Chain">Chain</a><A, B><spanclass="where fmt-newline">where<br> A: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>,<br> B: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a><Item = <A as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <A as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='chain.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.chain'class='fnname'>chain</a><U>(self, other: U) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Chain.html"title="struct core::iter::Chain">Chain</a><Self, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.IntoIter"title="type core::iter::traits::IntoIterator::IntoIter">IntoIter</a>><spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a><Item = Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#373-377'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Takes two iterators and creates a new iterator over both in sequence. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.chain">Read more</a></p>
</div><h4id='method.zip'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Zip.html"title="struct core::iter::Zip">Zip</a><A, B></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Zip.html"title="struct core::iter::Zip">Zip</a><A, B></h3><codeclass="content"><spanclass="where fmt-newline">impl<A, B><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Zip.html"title="struct core::iter::Zip">Zip</a><A, B><spanclass="where fmt-newline">where<br> A: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>,<br> B: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><A as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>, <B as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;</span></code></div></div><spanid='zip.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.zip'class='fnname'>zip</a><U>(self, other: U) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Zip.html"title="struct core::iter::Zip">Zip</a><Self, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.IntoIter"title="type core::iter::traits::IntoIterator::IntoIter">IntoIter</a>><spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#451-455'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>'Zips up' two iterators into a single iterator of pairs. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.zip">Read more</a></p>
</div><h4id='method.map'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Map.html"title="struct core::iter::Map">Map</a><I, F></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Map.html"title="struct core::iter::Map">Map</a><I, F></h3><codeclass="content"><spanclass="where fmt-newline">impl<B, I, F><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Map.html"title="struct core::iter::Map">Map</a><I, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -> B,<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = B;</span></code></div></div><spanid='map.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.map'class='fnname'>map</a><B, F>(self, f: F) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Map.html"title="struct core::iter::Map">Map</a><Self, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -> B, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#507-511'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Takes a closure and creates an iterator which calls that closure on each element. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.map">Read more</a></p>
</div><h4id='method.for_each'class="method"><spanid='for_each.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.for_each'class='fnname'>for_each</a><F>(self, f: F) <spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>), </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.21.0'>1.21.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#550-554'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Calls a closure on each element of an iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.for_each">Read more</a></p>
</div><h4id='method.filter'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Filter.html"title="struct core::iter::Filter">Filter</a><I, P></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Filter.html"title="struct core::iter::Filter">Filter</a><I, P></h3><codeclass="content"><spanclass="where fmt-newline">impl<I, P><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Filter.html"title="struct core::iter::Filter">Filter</a><I, P><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>,<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='filter.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.filter'class='fnname'>filter</a><P>(self, predicate: P) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Filter.html"title="struct core::iter::Filter">Filter</a><Self, P><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#618-622'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator which uses a closure to determine if an element should be yielded. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.filter">Read more</a></p>
</div><h4id='method.filter_map'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.FilterMap.html"title="struct core::iter::FilterMap">FilterMap</a><I, F></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.FilterMap.html"title="struct core::iter::FilterMap">FilterMap</a><I, F></h3><codeclass="content"><spanclass="where fmt-newline">impl<B, I, F><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.FilterMap.html"title="struct core::iter::FilterMap">FilterMap</a><I, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><B>,<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = B;</span></code></div></div><spanid='filter_map.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.filter_map'class='fnname'>filter_map</a><B, F>(self, f: F) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.FilterMap.html"title="struct core::iter::FilterMap">FilterMap</a><Self, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><B>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#675-679'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator that both filters and maps. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.filter_map">Read more</a></p>
</div><h4id='method.enumerate'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Enumerate.html"title="struct core::iter::Enumerate">Enumerate</a><I></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Enumerate.html"title="struct core::iter::Enumerate">Enumerate</a><I></h3><codeclass="content"><spanclass="where fmt-newline">impl<I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Enumerate.html"title="struct core::iter::Enumerate">Enumerate</a><I><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;</span></code></div></div><spanid='enumerate.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.enumerate'class='fnname'>enumerate</a>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Enumerate.html"title="struct core::iter::Enumerate">Enumerate</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#721-723'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator which gives the current iteration count as well as the next value. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.enumerate">Read more</a></p>
</div><h4id='method.peekable'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Peekable.html"title="struct core::iter::Peekable">Peekable</a><I></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Peekable.html"title="struct core::iter::Peekable">Peekable</a><I></h3><codeclass="content"><spanclass="where fmt-newline">impl<I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Peekable.html"title="struct core::iter::Peekable">Peekable</a><I><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='peekable.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.peekable'class='fnname'>peekable</a>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Peekable.html"title="struct core::iter::Peekable">Peekable</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#767-769'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator which can use <code>peek</code> to look at the next element of the iterator without consuming it. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.peekable">Read more</a></p>
</div><h4id='method.skip_while'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.SkipWhile.html"title="struct core::iter::SkipWhile">SkipWhile</a><I, P></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.SkipWhile.html"title="struct core::iter::SkipWhile">SkipWhile</a><I, P></h3><codeclass="content"><spanclass="where fmt-newline">impl<I, P><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.SkipWhile.html"title="struct core::iter::SkipWhile">SkipWhile</a><I, P><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>,<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='skip_while.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.skip_while'class='fnname'>skip_while</a><P>(self, predicate: P) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.SkipWhile.html"title="struct core::iter::SkipWhile">SkipWhile</a><Self, P><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#828-832'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator that [<code>skip</code>]s elements based on a predicate. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.skip_while">Read more</a></p>
</div><h4id='method.take_while'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.TakeWhile.html"title="struct core::iter::TakeWhile">TakeWhile</a><I, P></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.TakeWhile.html"title="struct core::iter::TakeWhile">TakeWhile</a><I, P></h3><codeclass="content"><spanclass="where fmt-newline">impl<I, P><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.TakeWhile.html"title="struct core::iter::TakeWhile">TakeWhile</a><I, P><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>,<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='take_while.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.take_while'class='fnname'>take_while</a><P>(self, predicate: P) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.TakeWhile.html"title="struct core::iter::TakeWhile">TakeWhile</a><Self, P><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#908-912'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator that yields elements based on a predicate. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.take_while">Read more</a></p>
</div><h4id='method.skip'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Skip.html"title="struct core::iter::Skip">Skip</a><I></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Skip.html"title="struct core::iter::Skip">Skip</a><I></h3><codeclass="content"><spanclass="where fmt-newline">impl<I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Skip.html"title="struct core::iter::Skip">Skip</a><I><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='skip.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.skip'class='fnname'>skip</a>(self, n: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Skip.html"title="struct core::iter::Skip">Skip</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#932-934'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator that skips the first <code>n</code> elements. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.skip">Read more</a></p>
</div><h4id='method.take'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Take.html"title="struct core::iter::Take">Take</a><I></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Take.html"title="struct core::iter::Take">Take</a><I></h3><codeclass="content"><spanclass="where fmt-newline">impl<I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Take.html"title="struct core::iter::Take">Take</a><I><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='take.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.take'class='fnname'>take</a>(self, n: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Take.html"title="struct core::iter::Take">Take</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#964-966'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator that yields its first <code>n</code> elements. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.take">Read more</a></p>
</div><h4id='method.scan'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Scan.html"title="struct core::iter::Scan">Scan</a><I, St, F></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Scan.html"title="struct core::iter::Scan">Scan</a><I, St, F></h3><codeclass="content"><spanclass="where fmt-newline">impl<B, I, St, F><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Scan.html"title="struct core::iter::Scan">Scan</a><I, St, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>St, <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><B>,<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = B;</span></code></div></div><spanid='scan.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.scan'class='fnname'>scan</a><St, B, F>(self, initial_state: St, f: F) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Scan.html"title="struct core::iter::Scan">Scan</a><Self, St, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>St, Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><B>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1007-1011'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>An iterator adaptor similar to [<code>fold</code>] that holds internal state and produces a new iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.scan">Read more</a></p>
</div><h4id='method.flat_map'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.FlatMap.html"title="struct core::iter::FlatMap">FlatMap</a><I, U, F></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.FlatMap.html"title="struct core::iter::FlatMap">FlatMap</a><I, U, F></h3><codeclass="content"><spanclass="where fmt-newline">impl<I, U, F><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.FlatMap.html"title="struct core::iter::FlatMap">FlatMap</a><I, U, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -> U,<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>,<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::IntoIterator::Item">Item</a>;</span></code></div></div><spanid='flat_map.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.flat_map'class='fnname'>flat_map</a><U, F>(self, f: F) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.FlatMap.html"title="struct core::iter::FlatMap">FlatMap</a><Self, U, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -> U,<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1045-1049'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator that works like map, but flattens nested structure. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.flat_map">Read more</a></p>
</div><h4id='method.flatten'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Flatten.html"title="struct core::iter::Flatten">Flatten</a><I></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Flatten.html"title="struct core::iter::Flatten">Flatten</a><I></h3><codeclass="content"><spanclass="where fmt-newline">impl<I, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Flatten.html"title="struct core::iter::Flatten">Flatten</a><I><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>,<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>,<br> <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> <<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.IntoIter"title="type core::iter::traits::IntoIterator::IntoIter">IntoIter</a> == U,<br> <<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::IntoIterator::Item">Item</a> == <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trai
</div><h4id='method.fuse'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Fuse.html"title="struct core::iter::Fuse">Fuse</a><I></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Fuse.html"title="struct core::iter::Fuse">Fuse</a><I></h3><codeclass="content"><spanclass="where fmt-newline">impl<I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Fuse.html"title="struct core::iter::Fuse">Fuse</a><I><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span><spanclass="where fmt-newline">impl<I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Fuse.html"title="struct core::iter::Fuse">Fuse</a><I><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.FusedIterator.html"title="trait core::iter::traits::FusedIterator">FusedIterator</a>, </span></span></code></div></div><spanid='fuse.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.fuse'class='fnname'>fuse</a>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Fuse.html"title="struct core::iter::Fuse">Fuse</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1175-1177'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator which ends after the first [<code>None</code>]. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.fuse">Read more</a></p>
</div><h4id='method.inspect'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Inspect.html"title="struct core::iter::Inspect">Inspect</a><I, F></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Inspect.html"title="struct core::iter::Inspect">Inspect</a><I, F></h3><codeclass="content"><spanclass="where fmt-newline">impl<I, F><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Inspect.html"title="struct core::iter::Inspect">Inspect</a><I, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>),<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='inspect.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.inspect'class='fnname'>inspect</a><F>(self, f: F) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Inspect.html"title="struct core::iter::Inspect">Inspect</a><Self, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>), </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1256-1260'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Do something with each element of an iterator, passing the value on. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.inspect">Read more</a></p>
</div><h4id='method.by_ref'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><codeclass="content"><spanclass="where fmt-newline">impl<'a, R><aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html"title="trait std::io::Read">Read</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <spanclass="where fmt-newline">where<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html"title="trait std::io::Read">Read</a> + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></span><spanclass="where fmt-newline">impl<'a, W><aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html"title="trait std::io::Write">Write</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <spanclass="where fmt-newline">where<br> W: <aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html"title="trait std::io::Write">Write</a> + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></span><spanclass="where fmt-newline">impl<'a, I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='by_ref.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.by_ref'class='fnname'>by_ref</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1299'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Borrows an iterator, rather than consuming it. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.by_ref">Read more</a></p>
</div><h4id='method.collect'class="method"><spanid='collect.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code><divclass="docblock attributes">#[must_use = "if you really need to exhaust the iterator, consider `.for_each(drop)` instead"]
</div>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.collect'class='fnname'>collect</a><B>(self) -> B <spanclass="where fmt-newline">where<br> B: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.FromIterator.html"title="trait core::iter::traits::FromIterator">FromIterator</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1414-1416'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Transforms an iterator into a collection. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.collect">Read more</a></p>
</div><h4id='method.partition'class="method"><spanid='partition.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.partition'class='fnname'>partition</a><B, F>(self, f: F) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>B, B<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a><spanclass="where fmt-newline">where<br> B: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html"title="trait core::iter::traits::Extend">Extend</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>>,<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1439-1456'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Consumes an iterator, creating two collections from it. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.partition">Read more</a></p>
</div><h4id='method.try_fold'class="method"><spanid='try_fold.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.try_fold'class='fnname'>try_fold</a><B, F, R>(&mut self, init: B, f: F) -> R <spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(B, Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -> R,<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try/trait.Try.html"title="trait core::ops::try::Try">Try</a><Ok = B>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.27.0'>1.27.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1517-1525'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>An iterator method that applies a function as long as it returns successfully, producing a single, final value. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.try_fold">Read more</a></p>
</div><h4id='method.try_for_each'class="method"><spanid='try_for_each.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.try_for_each'class='fnname'>try_for_each</a><F, R>(&mut self, f: F) -> R <spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -> R,<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try/trait.Try.html"title="trait core::ops::try::Try">Try</a><Ok = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.27.0'>1.27.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1556-1560'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>An iterator method that applies a fallible function to each item in the iterator, stopping at the first error and returning that error. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.try_for_each">Read more</a></p>
</div><h4id='method.fold'class="method"><spanid='fold.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.fold'class='fnname'>fold</a><B, F>(self, init: B, f: F) -> B <spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(B, Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -> B, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1631-1635'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>An iterator method that applies a function, producing a single, final value. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.fold">Read more</a></p>
</div><h4id='method.all'class="method"><spanid='all.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.all'class='fnname'>all</a><F>(&mut self, f: F) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1676-1683'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Tests if every element of the iterator matches a predicate. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.all">Read more</a></p>
</div><h4id='method.any'class="method"><spanid='any.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.any'class='fnname'>any</a><F>(&mut self, f: F) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1724-1732'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Tests if any element of the iterator matches a predicate. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.any">Read more</a></p>
</div><h4id='method.find'class="method"><spanid='find.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.find'class='fnname'>find</a><P>(&mut self, predicate: P) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1778-1786'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Searches for an element of an iterator that satisfies a predicate. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.find">Read more</a></p>
</div><h4id='method.find_map'class="method"><spanid='find_map.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.find_map'class='fnname'>find_map</a><B, F>(&mut self, f: F) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><B><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><B>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1808-1818'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='stability'><divclass='stab unstable'><details><summary><spanclass=microscope>🔬</span> This is a nightly-only experimental API. (<code>iterator_find_map</code>)</summary><p>unstable new API</p>
</details></div></div><divclass='docblock'><p>Applies function to the elements of iterator and returns the first non-none result. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.find_map">Read more</a></p>
</div><h4id='method.position'class="method"><spanid='position.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.position'class='fnname'>position</a><P>(&mut self, predicate: P) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1877-1886'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Searches for an element in an iterator, returning its index. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.position">Read more</a></p>
</div><h4id='method.rposition'class="method"><spanid='rposition.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.rposition'class='fnname'>rposition</a><P>(&mut self, predicate: P) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.ExactSizeIterator.html"title="trait core::iter::traits::ExactSizeIterator">ExactSizeIterator</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.DoubleEndedIterator.html"title="trait core::iter::traits::DoubleEndedIterator">DoubleEndedIterator</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1928-1940'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Searches for an element in an iterator from the right, returning its index. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.rposition">Read more</a></p>
</div><h4id='method.max'class="method"><spanid='max.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.max'class='fnname'>max</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>><spanclass="where fmt-newline">where<br> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1962-1970'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the maximum element of an iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.max">Read more</a></p>
</div><h4id='method.min'class="method"><spanid='min.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.min'class='fnname'>min</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>><spanclass="where fmt-newline">where<br> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#1992-2000'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the minimum element of an iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.min">Read more</a></p>
</div><h4id='method.max_by_key'class="method"><spanid='max_by_key.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.max_by_key'class='fnname'>max_by_key</a><B, F>(self, f: F) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>><spanclass="where fmt-newline">where<br> B: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a>,<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -> B, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.6.0'>1.6.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2018-2027'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the element that gives the maximum value from the specified function. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.max_by_key">Read more</a></p>
</div><h4id='method.max_by'class="method"><spanid='max_by.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.max_by'class='fnname'>max_by</a><F>(self, compare: F) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>, &Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.15.0'>1.15.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2045-2054'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the element that gives the maximum value with respect to the specified comparison function. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.max_by">Read more</a></p>
</div><h4id='method.min_by_key'class="method"><spanid='min_by_key.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.min_by_key'class='fnname'>min_by_key</a><B, F>(self, f: F) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>><spanclass="where fmt-newline">where<br> B: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a>,<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -> B, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.6.0'>1.6.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2071-2080'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the element that gives the minimum value from the specified function. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.min_by_key">Read more</a></p>
</div><h4id='method.min_by'class="method"><spanid='min_by.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.min_by'class='fnname'>min_by</a><F>(self, compare: F) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>, &Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.15.0'>1.15.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2098-2107'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the element that gives the minimum value with respect to the specified comparison function. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.min_by">Read more</a></p>
</div><h4id='method.rev'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Rev.html"title="struct core::iter::Rev">Rev</a><I></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Rev.html"title="struct core::iter::Rev">Rev</a><I></h3><codeclass="content"><spanclass="where fmt-newline">impl<I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Rev.html"title="struct core::iter::Rev">Rev</a><I><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.DoubleEndedIterator.html"title="trait core::iter::traits::DoubleEndedIterator">DoubleEndedIterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='rev.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.rev'class='fnname'>rev</a>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Rev.html"title="struct core::iter::Rev">Rev</a><Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.DoubleEndedIterator.html"title="trait core::iter::traits::DoubleEndedIterator">DoubleEndedIterator</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2135-2137'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Reverses an iterator's direction. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.rev">Read more</a></p>
</div><h4id='method.unzip'class="method"><spanid='unzip.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.unzip'class='fnname'>unzip</a><A, B, FromA, FromB>(self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>FromA, FromB<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a><spanclass="where fmt-newline">where<br> FromA: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html"title="trait core::iter::traits::Extend">Extend</a><A>,<br> FromB: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html"title="trait core::iter::traits::Extend">Extend</a><B>,<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a><Item = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2162-2176'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Converts an iterator of pairs into a pair of containers. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.unzip">Read more</a></p>
</div><h4id='method.cloned'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Cloned.html"title="struct core::iter::Cloned">Cloned</a><I></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Cloned.html"title="struct core::iter::Cloned">Cloned</a><I></h3><codeclass="content"><spanclass="where fmt-newline">impl<'a, I, T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Cloned.html"title="struct core::iter::Cloned">Cloned</a><I><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a><Item = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T>,<br> T: 'a + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = T;</span></code></div></div><spanid='cloned.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.cloned'class='fnname'>cloned</a><'a, T>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Cloned.html"title="struct core::iter::Cloned">Cloned</a><Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a><Item = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T>,<br> T: 'a + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2201-2205'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator which [<code>clone</code>]s all of its elements. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.cloned">Read more</a></p>
</div><h4id='method.cycle'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Cycle.html"title="struct core::iter::Cycle">Cycle</a><I></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Cycle.html"title="struct core::iter::Cycle">Cycle</a><I></h3><codeclass="content"><spanclass="where fmt-newline">impl<I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Cycle.html"title="struct core::iter::Cycle">Cycle</a><I><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='cycle.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.cycle'class='fnname'>cycle</a>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/struct.Cycle.html"title="struct core::iter::Cycle">Cycle</a><Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2234-2236'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Repeats an iterator endlessly. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.cycle">Read more</a></p>
</div><h4id='method.sum'class="method"><spanid='sum.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.sum'class='fnname'>sum</a><S>(self) -> S <spanclass="where fmt-newline">where<br> S: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Sum.html"title="trait core::iter::traits::Sum">Sum</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.11.0'>1.11.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2261-2266'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Sums the elements of an iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.sum">Read more</a></p>
</div><h4id='method.product'class="method"><spanid='product.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.product'class='fnname'>product</a><P>(self) -> P <spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Product.html"title="trait core::iter::traits::Product">Product</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.11.0'>1.11.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2289-2294'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Iterates over the entire iterator, multiplying all the elements <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.product">Read more</a></p>
</div><h4id='method.cmp'class="method"><spanid='cmp.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.cmp'class='fnname'>cmp</a><I>(self, other: I) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a><Item = Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>>,<br> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.5.0'>1.5.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2299-2326'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Lexicographically compares the elements of this <code>Iterator</code> with those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.cmp">Read more</a></p>
</div><h4id='method.partial_cmp'class="method"><spanid='partial_cmp.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.partial_cmp'class='fnname'>partial_cmp</a><I>(self, other: I) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a>><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::IntoIterator::Item">Item</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.5.0'>1.5.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2331-2358'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Lexicographically compares the elements of this <code>Iterator</code> with those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.partial_cmp">Read more</a></p>
</div><h4id='method.eq'class="method"><spanid='eq.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.eq'class='fnname'>eq</a><I>(self, other: I) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::IntoIterator::Item">Item</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.5.0'>1.5.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2363-2383'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Determines if the elements of this <code>Iterator</code> are equal to those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.eq">Read more</a></p>
</div><h4id='method.ne'class="method"><spanid='ne.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.ne'class='fnname'>ne</a><I>(self, other: I) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::IntoIterator::Item">Item</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.5.0'>1.5.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2388-2408'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Determines if the elements of this <code>Iterator</code> are unequal to those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.ne">Read more</a></p>
</div><h4id='method.lt'class="method"><spanid='lt.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.lt'class='fnname'>lt</a><I>(self, other: I) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::IntoIterator::Item">Item</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.5.0'>1.5.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2413-2438'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Determines if the elements of this <code>Iterator</code> are lexicographically less than those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.lt">Read more</a></p>
</div><h4id='method.le'class="method"><spanid='le.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.le'class='fnname'>le</a><I>(self, other: I) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::IntoIterator::Item">Item</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.5.0'>1.5.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2443-2468'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Determines if the elements of this <code>Iterator</code> are lexicographically less or equal to those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.le">Read more</a></p>
</div><h4id='method.gt'class="method"><spanid='gt.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.gt'class='fnname'>gt</a><I>(self, other: I) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::IntoIterator::Item">Item</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.5.0'>1.5.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2473-2498'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Determines if the elements of this <code>Iterator</code> are lexicographically greater than those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.gt">Read more</a></p>
</div><h4id='method.ge'class="method"><spanid='ge.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.ge'class='fnname'>ge</a><I>(self, other: I) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><<I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::IntoIterator::Item">Item</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.5.0'>1.5.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/iterator.rs.html#2503-2528'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Determines if the elements of this <code>Iterator</code> are lexicographically greater than or equal to those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#method.ge">Read more</a></p>
</div></div><h3id='impl-Send'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<'a, T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../actix_web/http/header/struct.Drain.html"title="struct actix_web::http::header::Drain">Drain</a><'a, T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a>, </span></code><ahref='#impl-Send'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/map.rs.html#2103'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'></div><h3id='impl-Debug'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<'a, T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../../../actix_web/http/header/struct.Drain.html"title="struct actix_web::http::header::Drain">Drain</a><'a, T><spanclass="where fmt-newline">where<br> T: 'a + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a>, </span></code><ahref='#impl-Debug'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/map.rs.html#129'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.fmt'class="method"><spanid='fmt.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html"title="struct core::fmt::Error">Error</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/map.rs.html#129'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><divclass="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g. <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g. <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath="../../../";window.currentCrate="actix_web";</script><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>