<!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="Iterator of `UserBuffer`"><metaname="keywords"content="rust, rustlang, rust-lang, UserBufferIterator"><title>UserBufferIterator in os::mm - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceSerif4-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../FiraSans-Regular.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../FiraSans-Medium.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceCodePro-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceSerif4-Bold.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceCodePro-Semibold.ttf.woff2"><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../ayu.css"disabled><linkrel="stylesheet"type="text/css"href="../../dark.css"disabled><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptid="default-settings"></script><scriptsrc="../../storage.js"></script><scriptdefersrc="sidebar-items.js"></script><scriptdefersrc="../../main.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="alternate icon"type="image/png"href="../../favicon-16x16.png"><linkrel="alternate icon"type="image/png"href="../../favicon-32x32.png"><linkrel="icon"type="image/svg+xml"href="../../favicon.svg"></head><bodyclass="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="mobile-topbar"><buttonclass="sidebar-menu-toggle">☰</button><aclass="sidebar-logo"href="../../os/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../rust-logo.svg"alt="logo"></div></a><h2class="location"></h2></nav><navclass="sidebar"><aclass="sidebar-logo"href="../../os/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../rust-logo.svg"alt="logo"></div></a><h2class="location"><ahref="#">UserBufferIterator</a></h2><divclass="sidebar-elems"><section><divclass="block"><h3class="sidebar-title"><ahref="#fields">Fields</a></h3><ul><li><ahref="#structfield.buffers">buffers</a></li><li><ahref="#structfield.current_buffer">current_buffer</a></li><li><ahref="#structfield.current_idx">current_idx</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#trait-implementations">Trait Implementations</a></h3><ul><li><ahref="#impl-Iterator-for-UserBufferIterator">Iterator</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><ahref="#impl-RefUnwindSafe-for-UserBufferIterator">RefUnwindSafe</a></li><li><ahref="#impl-Send-for-UserBufferIterator">Send</a></li><li><ahref="#impl-Sync-for-UserBufferIterator">Sync</a></li><li><ahref="#impl-Unpin-for-UserBufferIterator">Unpin</a></li><li><ahref="#impl-UnwindSafe-for-UserBufferIterator">!UnwindSafe</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#blanket-implementations">Blanket Implementations</a></h3><ul><li><ahref="#impl-Any-for-UserBufferIterator">Any</a></li><li><ahref="#impl-Borrow%3CT%3E-for-UserBufferIterator">Borrow<T></a></li><li><ahref="#impl-BorrowMut%3CT%3E-for-UserBufferIterator">BorrowMut<T></a></li><li><ahref="#impl-From%3CT%3E-for-UserBufferIterator">From<T></a></li><li><ahref="#impl-Into%3CU%3E-for-UserBufferIterator">Into<U></a></li><li><ahref="#impl-IntoIterator-for-UserBufferIterator">IntoIterator</a></li><li><ahref="#impl-TryFrom%3CU%3E-for-UserBufferIterator">TryFrom<U></a></li><li><ahref="#impl-TryInto%3CU
}</code></pre></div><detailsclass="rustdoc-toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>Iterator of <code>UserBuffer</code></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.next"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/os/mm/page_table.rs.html#259-272">source</a></span><ahref="#method.next"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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><Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>></h4></section></summary><divclass='docblock'><p>Advances the iterator and returns the next value. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#tymethod.next">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.next_chunk"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#138-142">source</a></span><ahref="#method.next_chunk"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.next_chunk"class="fnname">next_chunk</a><const N: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.usize.html">usize</a>>(<br> &mut self<br>) -><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/core/primitive.array.html">[</a>Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.array.html">; N]</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/core/array/iter/struct.IntoIter.html"title="struct core::array::iter::IntoIter">IntoIter</a><Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>, N>></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>iter_next_chunk</code>)</div></span><divclass='docblock'><p>Advances the iterator and returns an array containing the next <code>N</code> values. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.next_chunk">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.size_hint"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#215">source</a></span><ahref="#method.size_hint"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.size_hint"class="fnname">size_hint</a>(&self) -> (<aclass="primitive"href="https://doc.rust-lang.org/nightly/core/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/core/primitive.usize.html">usize</a>>)</h4></section></summary><divclass='docblock'><p>Returns the bounds on the remaining length of the iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.size_hint">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.count"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#252-254">source</a></span><ahref="#method.count"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.count"class="fnname">count</a>(self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.usize.html">usize</a></h4></section></summary><divclass='docblock'><p>Consumes the iterator, counting the number of iterations and returning it. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.count">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.last"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#282-284">source</a></span><ahref="#method.last"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>></h4></section></summary><divclass='docblock'><p>Consumes the iterator, returning the last element. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.last">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.advance_by"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#328">source</a></span><ahref="#method.advance_by"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.advance_by"class="fnname">advance_by</a>(&mut self, n: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.usize.html">usize</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/core/primitive.unit.html">()</a>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.usize.html">usize</a>></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>iter_advance_by</code>)</div></span><divclass='docblock'><p>Advances the iterator by <code>n</code> elements. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.advance_by">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.nth"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#376">source</a></span><ahref="#method.nth"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.nth"class="fnname">nth</a>(&mut self, n: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>></h4></section></summary><divclass='docblock'><p>Returns the <code>n</code>th element of the iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.nth">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.step_by"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.28.0">1.28.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#428-430">source</a></span><ahref="#method.step_by"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.step_by"class="fnname">step_by</a>(self, step: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.usize.html">usize</a>) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/step_by/struct.StepBy.html"title="struct core::iter::adapters::step_by::StepBy">StepBy</a><Self></h4></section></summary><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/traits/iterator/trait.Iterator.html#method.step_by">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.chain"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#499-502">source</a></span><ahref="#method.chain"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/adapters/chain/struct.Chain.html"title="struct core::iter::adapters::chain::Chain">Chain</a><Self, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"title="type core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a>><spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>>, </span></h4></section></summary><divclass='docblock'><p>Takes two iterators and creates a new iterator over both in sequence. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.chain">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.zip"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#617-620">source</a></span><ahref="#method.zip"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/adapters/zip/struct.Zip.html"title="struct core::iter::adapters::zip::Zip">Zip</a><Self, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"title="type core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a>><spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>, </span></h4></section></summary><divclass='docblock'><p>‘Zips up’ two iterators into a single iterator of pairs. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.zip">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.intersperse"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#659-662">source</a></span><ahref="#method.intersperse"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.intersperse"class="fnname">intersperse</a>(self, separator: Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/intersperse/struct.Intersperse.html"title="struct core::iter::adapters::intersperse::Intersperse">Intersperse</a><Self><spanclass="where fmt-newline">where<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>iter_intersperse</code>)</div></span><divclass='docblock'><p>Creates a new iterator which places a copy of <code>separator</code> between adjacent
items of the original iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.intersperse">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.intersperse_with"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#717-720">source</a></span><ahref="#method.intersperse_with"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.intersperse_with"class="fnname">intersperse_with</a><G>(self, separator: G) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/intersperse/struct.IntersperseWith.html"title="struct core::iter::adapters::intersperse::IntersperseWith">IntersperseWith</a><Self, G><spanclass="where fmt-newline">where<br> G: <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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>iter_intersperse</code>)</div></span><divclass='docblock'><p>Creates a new iterator which places an item generated by <code>separator</code>
between adjacent items of the original iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.intersperse_with">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.map"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#776-779">source</a></span><ahref="#method.map"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/adapters/map/struct.Map.html"title="struct core::iter::adapters::map::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> B, </span></h4></section></summary><divclass='docblock'><p>Takes a closure and creates an iterator which calls that closure on each
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.for_each"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.21.0">1.21.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#821-824">source</a></span><ahref="#method.for_each"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>), </span></h4></section></summary><divclass='docblock'><p>Calls a closure on each element of an iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.for_each">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.filter"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#896-899">source</a></span><ahref="#method.filter"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/adapters/filter/struct.Filter.html"title="struct core::iter::adapters::filter::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>, </span></h4></section></summary><divclass='docblock'><p>Creates an iterator which uses a closure to determine if an element
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.filter_map"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#941-944">source</a></span><ahref="#method.filter_map"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/adapters/filter_map/struct.FilterMap.html"title="struct core::iter::adapters::filter_map::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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></h4></section></summary><divclass='docblock'><p>Creates an iterator that both filters and maps. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.filter_map">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.enumerate"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#987-989">source</a></span><ahref="#method.enumerate"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.enumerate"class="fnname">enumerate</a>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/enumerate/struct.Enumerate.html"title="struct core::iter::adapters::enumerate::Enumerate">Enumerate</a><Self></h4></section></summary><divclass='docblock'><p>Creates an iterator which gives the current iteration count as well as
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.peekable"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1058-1060">source</a></span><ahref="#method.peekable"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.peekable"class="fnname">peekable</a>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/peekable/struct.Peekable.html"title="struct core::iter::adapters::peekable::Peekable">Peekable</a><Self></h4></section></summary><divclass='docblock'><p>Creates an iterator which can use the <ahref="https://doc.rust-lang.org/nightly/core/iter/adapters/peekable/struct.Peekable.html#method.peek"><code>peek</code></a> and <ahref="https://doc.rust-lang.org/nightly/core/iter/adapters/peekable/struct.Peekable.html#method.peek_mut"><code>peek_mut</code></a> methods
to look at the next element of the iterator without consuming it. See
their documentation for more information. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.peekable">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.skip_while"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1123-1126">source</a></span><ahref="#method.skip_while"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/adapters/skip_while/struct.SkipWhile.html"title="struct core::iter::adapters::skip_while::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>, </span></h4></section></summary><divclass='docblock'><p>Creates an iterator that <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.skip"><code>skip</code></a>s elements based on a predicate. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.skip_while">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.take_while"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1204-1207">source</a></span><ahref="#method.take_while"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/adapters/take_while/struct.TakeWhile.html"title="struct core::iter::adapters::take_while::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>, </span></h4></section></summary><divclass='docblock'><p>Creates an iterator that yields elements based on a predicate. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.take_while">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.map_while"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.57.0">1.57.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1292-1295">source</a></span><ahref="#method.map_while"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.map_while"class="fnname">map_while</a><B, P>(self, predicate: P) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/map_while/struct.MapWhile.html"title="struct core::iter::adapters::map_while::MapWhile">MapWhile</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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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></h4></section></summary><divclass='docblock'><p>Creates an iterator that both yields elements based on a predicate and maps. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.map_while">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.skip"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1323-1325">source</a></span><ahref="#method.skip"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.skip"class="fnname">skip</a>(self, n: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.usize.html">usize</a>) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/skip/struct.Skip.html"title="struct core::iter::adapters::skip::Skip">Skip</a><Self></h4></section></summary><divclass='docblock'><p>Creates an iterator that skips the first <code>n</code> elements. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.skip">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.take"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1376-1378">source</a></span><ahref="#method.take"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.take"class="fnname">take</a>(self, n: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.usize.html">usize</a>) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/take/struct.Take.html"title="struct core::iter::adapters::take::Take">Take</a><Self></h4></section></summary><divclass='docblock'><p>Creates an iterator that yields the first <code>n</code> elements, or fewer
if the underlying iterator ends sooner. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.take">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.flat_map"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1460-1464">source</a></span><ahref="#method.flat_map"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/adapters/flatten/struct.FlatMap.html"title="struct core::iter::adapters::flatten::FlatMap">FlatMap</a><Self, U, F><spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> U, </span></h4></section></summary><divclass='docblock'><p>Creates an iterator that works like map, but flattens nested structure. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.flat_map">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.flatten"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.29.0">1.29.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1532-1535">source</a></span><ahref="#method.flatten"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.flatten"class="fnname">flatten</a>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/flatten/struct.Flatten.html"title="struct core::iter::adapters::flatten::Flatten">Flatten</a><Self><spanclass="where fmt-newline">where<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>, </span></h4></section></summary><divclass='docblock'><p>Creates an iterator that flattens nested structure. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.flatten">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fuse"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1600-1602">source</a></span><ahref="#method.fuse"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.fuse"class="fnname">fuse</a>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/fuse/struct.Fuse.html"title="struct core::iter::adapters::fuse::Fuse">Fuse</a><Self></h4></section></summary><divclass='docblock'><p>Creates an iterator which ends after the first <ahref="https://doc.rust-lang.org/nightly/core/option/enum.Option.html#variant.None"title="None"><code>None</code></a>. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.fuse">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.inspect"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1684-1687">source</a></span><ahref="#method.inspect"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/adapters/inspect/struct.Inspect.html"title="struct core::iter::adapters::inspect::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>), </span></h4></section></summary><divclass='docblock'><p>Does something with each element of an iterator, passing the value on. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.inspect">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.by_ref"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1714-1716">source</a></span><ahref="#method.by_ref"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.by_ref"class="fnname">by_ref</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&mut </a>Self</h4></section></summary><divclass='docblock'><p>Borrows an iterator, rather than consuming it. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.by_ref">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.collect"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1832-1834">source</a></span><ahref="#method.collect"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/collect/trait.FromIterator.html"title="trait core::iter::traits::collect::FromIterator">FromIterator</a><Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>>, </span></h4></section></summary><divclass='docblock'><p>Transforms an iterator into a collection. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.collect">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_collect"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1910-1915">source</a></span><ahref="#method.try_collect"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.try_collect"class="fnname">try_collect</a><B>(<br> &mut self<br>) -><<Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html#associatedtype.Residual"title="type core::ops::try_trait::Try::Residual">Residual</a> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Residual.html"title="trait core::ops::try_trait::Residual">Residual</a><B>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Residual.html#associatedtype.TryType"title="type core::ops::try_trait::Residual::TryType">TryType</a><spanclass="where fmt-newline">where<br> B: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.FromIterator.html"title="trait core::iter::traits::collect::FromIterator">FromIterator</a><<Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html#associatedtype.Output"title="type core::ops::try_trait::Try::Output">Output</a>>,<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a>,<br> <Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html#associatedtype.Residual"title="type core::ops::try_trait::Try::Residual">Residual</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Residual.html"title="trait core::ops::try_trait::Residual">Residual</a><B>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>iterator_try_collect</code>)</div></span><divclass='docblock'><p>Fallibly transforms an iterator into a collection, short circuiting if
a failure is encountered. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.try_collect">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.collect_into"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#1983-1985">source</a></span><ahref="#method.collect_into"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.collect_into"class="fnname">collect_into</a><E>(self, collection: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&mut </a>E) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&mut </a>E <spanclass="where fmt-newline">where<br> E: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.Extend.html"title="trait core::iter::traits::collect::Extend">Extend</a><Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>iter_collect_into</code>)</div></span><divclass='docblock'><p>Collects all the items from an iterator into a collection. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.collect_into">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.partition"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2017-2021">source</a></span><ahref="#method.partition"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.partition"class="fnname">partition</a><B, F>(self, f: F) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.tuple.html">(B, B)</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/collect/trait.Extend.html"title="trait core::iter::traits::collect::Extend">Extend</a><Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>, </span></h4></section></summary><divclass='docblock'><p>Consumes an iterator, creating two collections from it. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.partition">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.partition_in_place"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2079-2082">source</a></span><ahref="#method.partition_in_place"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.partition_in_place"class="fnname">partition_in_place</a><'a, T, P>(self, predicate: P) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.usize.html">usize</a><spanclass="where fmt-newline">where<br> T: 'a,<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html"title="trait core::iter::traits::double_ended::DoubleEndedIterator">DoubleEndedIterator</a><Item = <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&'a mut </a>T>,<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>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&</a>T) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>iter_partition_in_place</code>)</div></span><divclass='docblock'><p>Reorders the elements of this iterator <em>in-place</em> according to the given predicate,
such that all those that return <code>true</code> precede all those that return <code>false</code>.
Returns the number of <code>true</code> elements found. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.partition_in_place">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.is_partitioned"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2136-2139">source</a></span><ahref="#method.is_partitioned"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.is_partitioned"class="fnname">is_partitioned</a><P>(self, predicate: P) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>iter_is_partitioned</code>)</div></span><divclass='docblock'><p>Checks if the elements of this iterator are partitioned according to the given predicate,
such that all those that return <code>true</code> precede all those that return <code>false</code>. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.is_partitioned">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_fold"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.27.0">1.27.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2230-2234">source</a></span><ahref="#method.try_fold"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> R,<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a><Output = B>, </span></h4></section></summary><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/traits/iterator/trait.Iterator.html#method.try_fold">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_for_each"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.27.0">1.27.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2288-2292">source</a></span><ahref="#method.try_for_each"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> R,<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a><Output = <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.unit.html">()</a>>, </span></h4></section></summary><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/traits/iterator/trait.Iterator.html#method.try_for_each">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fold"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2407-2410">source</a></span><ahref="#method.fold"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> B, </span></h4></section></summary><divclass='docblock'><p>Folds every element into an accumulator by applying an operation,
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.reduce"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.51.0">1.51.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2453-2456">source</a></span><ahref="#method.reduce"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.reduce"class="fnname">reduce</a><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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>, Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>, </span></h4></section></summary><divclass='docblock'><p>Reduces the elements to a single one, by repeatedly applying a reducing
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_reduce"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2524-2529">source</a></span><ahref="#method.try_reduce"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.try_reduce"class="fnname">try_reduce</a><F, R>(<br> &mut self,<br> f: F<br>) -><<R as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html#associatedtype.Residual"title="type core::ops::try_trait::Try::Residual">Residual</a> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Residual.html"title="trait core::ops::try_trait::Residual">Residual</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<R as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html#associatedtype.Output"title="type core::ops::try_trait::Try::Output">Output</a>>>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Residual.html#associatedtype.TryType"title="type core::ops::try_trait::Residual::TryType">TryType</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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>, Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> R,<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a><Output = Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>>,<br> <R as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html#associatedtype.Residual"title="type core::ops::try_trait::Try::Residual">Residual</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Residual.html"title="trait core::ops::try_trait::Residual">Residual</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>>>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>iterator_try_reduce</code>)</div></span><divclass='docblock'><p>Reduces the elements to a single one by repeatedly applying a reducing operation. If the
closure returns a failure, the failure is propagated back to the caller immediately. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.try_reduce">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.all"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2581-2584">source</a></span><ahref="#method.all"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.all"class="fnname">all</a><F>(&mut self, f: F) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>, </span></h4></section></summary><divclass='docblock'><p>Tests if every element of the iterator matches a predicate. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.all">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.any"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2634-2637">source</a></span><ahref="#method.any"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.any"class="fnname">any</a><F>(&mut self, f: F) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>, </span></h4></section></summary><divclass='docblock'><p>Tests if any element of the iterator matches a predicate. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.any">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.find"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2694-2697">source</a></span><ahref="#method.find"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>, </span></h4></section></summary><divclass='docblock'><p>Searches for an element of an iterator that satisfies a predicate. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.find">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.find_map"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.30.0">1.30.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2725-2728">source</a></span><ahref="#method.find_map"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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></h4></section></summary><divclass='docblock'><p>Applies function to the elements of iterator and returns
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_find"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2781-2786">source</a></span><ahref="#method.try_find"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.try_find"class="fnname">try_find</a><F, R>(<br> &mut self,<br> f: F<br>) -><<R as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html#associatedtype.Residual"title="type core::ops::try_trait::Try::Residual">Residual</a> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Residual.html"title="trait core::ops::try_trait::Residual">Residual</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>>>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Residual.html#associatedtype.TryType"title="type core::ops::try_trait::Residual::TryType">TryType</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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> R,<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a><Output = <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>>,<br> <R as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html"title="trait core::ops::try_trait::Try">Try</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Try.html#associatedtype.Residual"title="type core::ops::try_trait::Try::Residual">Residual</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/try_trait/trait.Residual.html"title="trait core::ops::try_trait::Residual">Residual</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>>>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>try_find</code>)</div></span><divclass='docblock'><p>Applies function to the elements of iterator and returns
the first true result or the first error. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.try_find">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.position"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2863-2866">source</a></span><ahref="#method.position"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/core/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>, </span></h4></section></summary><divclass='docblock'><p>Searches for an element in an iterator, returning its index. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.position">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.rposition"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2920-2923">source</a></span><ahref="#method.rposition"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/core/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>,<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/exact_size/trait.ExactSizeIterator.html"title="trait core::iter::traits::exact_size::ExactSizeIterator">ExactSizeIterator</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html"title="trait core::iter::traits::double_ended::DoubleEndedIterator">DoubleEndedIterator</a>, </span></h4></section></summary><divclass='docblock'><p>Searches for an element in an iterator from the right, returning its
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.max"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2971-2974">source</a></span><ahref="#method.max"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>><spanclass="where fmt-newline">where<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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></h4></section></summary><divclass='docblock'><p>Returns the maximum element of an iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.max">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.min"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3009-3012">source</a></span><ahref="#method.min"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>><spanclass="where fmt-newline">where<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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></h4></section></summary><divclass='docblock'><p>Returns the minimum element of an iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.min">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.max_by_key"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.6.0">1.6.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3031-3034">source</a></span><ahref="#method.max_by_key"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> B, </span></h4></section></summary><divclass='docblock'><p>Returns the element that gives the maximum value from the
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.max_by"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.15.0">1.15.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3064-3067">source</a></span><ahref="#method.max_by"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>, &Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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></h4></section></summary><divclass='docblock'><p>Returns the element that gives the maximum value with respect to the
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.min_by_key"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.6.0">1.6.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3091-3094">source</a></span><ahref="#method.min_by_key"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> B, </span></h4></section></summary><divclass='docblock'><p>Returns the element that gives the minimum value from the
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.min_by"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.15.0">1.15.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3124-3127">source</a></span><ahref="#method.min_by"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>, &Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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></h4></section></summary><divclass='docblock'><p>Returns the element that gives the minimum value with respect to the
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.rev"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3161-3163">source</a></span><ahref="#method.rev"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.rev"class="fnname">rev</a>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/rev/struct.Rev.html"title="struct core::iter::adapters::rev::Rev">Rev</a><Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html"title="trait core::iter::traits::double_ended::DoubleEndedIterator">DoubleEndedIterator</a>, </span></h4></section></summary><divclass='docblock'><p>Reverses an iterator’s direction. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.rev">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.unzip"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3199-3203">source</a></span><ahref="#method.unzip"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.unzip"class="fnname">unzip</a><A, B, FromA, FromB>(self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.tuple.html">(FromA, FromB)</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/collect/trait.Extend.html"title="trait core::iter::traits::collect::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/collect/trait.Extend.html"title="trait core::iter::traits::collect::Extend">Extend</a><B>,<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.tuple.html">(A, B)</a>>, </span></h4></section></summary><divclass='docblock'><p>Converts an iterator of pairs into a pair of containers. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.unzip">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.copied"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.36.0">1.36.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3231-3234">source</a></span><ahref="#method.copied"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.copied"class="fnname">copied</a><'a, T>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/copied/struct.Copied.html"title="struct core::iter::adapters::copied::Copied">Copied</a><Self><spanclass="where fmt-newline">where<br> T: 'a + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a>,<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&'a </a>T>, </span></h4></section></summary><divclass='docblock'><p>Creates an iterator which copies all of its elements. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.copied">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.cloned"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3278-3281">source</a></span><ahref="#method.cloned"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.cloned"class="fnname">cloned</a><'a, T>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/cloned/struct.Cloned.html"title="struct core::iter::adapters::cloned::Cloned">Cloned</a><Self><spanclass="where fmt-newline">where<br> T: 'a + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>,<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&'a </a>T>, </span></h4></section></summary><divclass='docblock'><p>Creates an iterator which <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone"><code>clone</code></a>s all of its elements. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.cloned">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.cycle"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3312-3314">source</a></span><ahref="#method.cycle"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.cycle"class="fnname">cycle</a>(self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/cycle/struct.Cycle.html"title="struct core::iter::adapters::cycle::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></h4></section></summary><divclass='docblock'><p>Repeats an iterator endlessly. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.cycle">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.sum"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.11.0">1.11.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3342-3345">source</a></span><ahref="#method.sum"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/accum/trait.Sum.html"title="trait core::iter::traits::accum::Sum">Sum</a><Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>>, </span></h4></section></summary><divclass='docblock'><p>Sums the elements of an iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.sum">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.product"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.11.0">1.11.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3371-3374">source</a></span><ahref="#method.product"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/accum/trait.Product.html"title="trait core::iter::traits::accum::Product">Product</a><Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>>, </span></h4></section></summary><divclass='docblock'><p>Iterates over the entire iterator, multiplying all the elements <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.product">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.cmp"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.5.0">1.5.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3392-3396">source</a></span><ahref="#method.cmp"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>>,<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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></h4></section></summary><divclass='docblock'><p><ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#lexicographical-comparison">Lexicographically</a> compares the elements of this <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="Iterator"><code>Iterator</code></a> with those
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.cmp_by"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3421-3425">source</a></span><ahref="#method.cmp_by"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.cmp_by"class="fnname">cmp_by</a><I, F>(self, other: I, cmp: F) -><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/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>, <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::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></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>iter_order_by</code>)</div></span><divclass='docblock'><p><ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#lexicographical-comparison">Lexicographically</a> compares the elements of this <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="Iterator"><code>Iterator</code></a> with those
of another with respect to the specified comparison function. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.cmp_by">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.partial_cmp"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.5.0">1.5.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3468-3472">source</a></span><ahref="#method.partial_cmp"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/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/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>>, </span></h4></section></summary><divclass='docblock'><p><ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#lexicographical-comparison">Lexicographically</a> compares the elements of this <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="Iterator"><code>Iterator</code></a> with those
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.partial_cmp_by"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3506-3510">source</a></span><ahref="#method.partial_cmp_by"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.partial_cmp_by"class="fnname">partial_cmp_by</a><I, F>(self, other: I, partial_cmp: F) -><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/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>, <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>) -><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>>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>iter_order_by</code>)</div></span><divclass='docblock'><p><ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#lexicographical-comparison">Lexicographically</a> compares the elements of this <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="Iterator"><code>Iterator</code></a> with those
of another with respect to the specified comparison function. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.partial_cmp_by">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.eq"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.5.0">1.5.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3548-3552">source</a></span><ahref="#method.eq"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.eq"class="fnname">eq</a><I>(self, other: I) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>>, </span></h4></section></summary><divclass='docblock'><p>Determines if the elements of this <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="Iterator"><code>Iterator</code></a> are equal to those of
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.eq_by"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3573-3577">source</a></span><ahref="#method.eq_by"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.eq_by"class="fnname">eq_by</a><I, F>(self, other: I, eq: F) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>, <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>iter_order_by</code>)</div></span><divclass='docblock'><p>Determines if the elements of this <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="Iterator"><code>Iterator</code></a> are equal to those of
another with respect to the specified equality function. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.eq_by">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.ne"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.5.0">1.5.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3608-3612">source</a></span><ahref="#method.ne"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.ne"class="fnname">ne</a><I>(self, other: I) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>>, </span></h4></section></summary><divclass='docblock'><p>Determines if the elements of this <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="Iterator"><code>Iterator</code></a> are unequal to those of
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.lt"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.5.0">1.5.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3629-3633">source</a></span><ahref="#method.lt"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.lt"class="fnname">lt</a><I>(self, other: I) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>>, </span></h4></section></summary><divclass='docblock'><p>Determines if the elements of this <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="Iterator"><code>Iterator</code></a> are <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#lexicographical-comparison">lexicographically</a>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.le"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.5.0">1.5.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3650-3654">source</a></span><ahref="#method.le"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.le"class="fnname">le</a><I>(self, other: I) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>>, </span></h4></section></summary><divclass='docblock'><p>Determines if the elements of this <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="Iterator"><code>Iterator</code></a> are <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#lexicographical-comparison">lexicographically</a>
less or equal to those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.le">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.gt"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.5.0">1.5.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3671-3675">source</a></span><ahref="#method.gt"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.gt"class="fnname">gt</a><I>(self, other: I) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>>, </span></h4></section></summary><divclass='docblock'><p>Determines if the elements of this <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="Iterator"><code>Iterator</code></a> are <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#lexicographical-comparison">lexicographically</a>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.ge"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.5.0">1.5.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3692-3696">source</a></span><ahref="#method.ge"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.ge"class="fnname">ge</a><I>(self, other: I) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>>, </span></h4></section></summary><divclass='docblock'><p>Determines if the elements of this <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="Iterator"><code>Iterator</code></a> are <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#lexicographical-comparison">lexicographically</a>
greater than or equal to those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.ge">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.is_sorted"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3723-3726">source</a></span><ahref="#method.is_sorted"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.is_sorted"class="fnname">is_sorted</a>(self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a><spanclass="where fmt-newline">where<br> Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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><Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>is_sorted</code>)</div></span><divclass='docblock'><p>Checks if the elements of this iterator are sorted. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.is_sorted">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.is_sorted_by"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3751-3754">source</a></span><ahref="#method.is_sorted_by"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.is_sorted_by"class="fnname">is_sorted_by</a><F>(self, compare: F) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>, &Self::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::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><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a>>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>is_sorted</code>)</div></span><divclass='docblock'><p>Checks if the elements of this iterator are sorted using the given comparator function. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.is_sorted_by">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.is_sorted_by_key"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3797-3801">source</a></span><ahref="#method.is_sorted_by_key"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.is_sorted_by_key"class="fnname">is_sorted_by_key</a><F, K>(self, f: F) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/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="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> K,<br> K: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><K>, </span></h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>is_sorted</code>)</div></span><divclass='docblock'><p>Checks if the elements of this iterator are sorted using the given key extraction
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-IntoIterator-for-UserBufferIterator"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/collect.rs.html#266">source</a></span><ahref="#impl-IntoIterator-for-UserBufferIterator"class="anchor"></a><h3class="code-header in-band">impl<I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a> for I <spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="trait core::iter::traits::iterator::Iterator">Iterator</a>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Item-1"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Item-1"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"class="associatedtype">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html"title="trait core::iter::traits::iterator::Iterator">Iterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a></h4></section></summary><divclass='docblock'><p>The type of the elements being iterated over.</p>
</div></details><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.IntoIter"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.IntoIter"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"class="associatedtype">IntoIter</a> = I</h4></section></summary><divclass='docblock'><p>Which kind of iterator are we turning this into?</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.into_iter"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/90603"title="Tracking issue for const_intoiterator_identity">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/collect.rs.html#271">source</a></span><ahref="#method.into_iter"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter"class="fnname">into_iter</a>(self) -> I</h4></section></summary><divclass='docblock'><p>Creates an iterator from a value. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E-for-UserBufferIterator"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#598">source</a></span><ahref="#impl-TryFrom%3CU%3E-for-UserBufferIterator"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Error"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Error"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></h4></section></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryInto%3CU%3E-for-UserBufferIterator"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#583">source</a></span><ahref="#impl-TryInto%3CU%3E-for-UserBufferIterator"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Error-1"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Error-1"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>