<spanid="variant.Left"class="variant small-section-header"><ahref="#variant.Left"class="anchor field"></a><codeid='Left.v'>Left(L)</code></span><divclass='docblock'><p>A value of type <code>L</code>.</p>
</div><spanid="variant.Right"class="variant small-section-header"><ahref="#variant.Right"class="anchor field"></a><codeid='Right.v'>Right(R)</code></span><divclass='docblock'><p>A value of type <code>R</code>.</p>
</div><h2id='methods'class='small-section-header'>Methods<ahref='#methods'class='anchor'></a></h2><h3id='impl'class='impl'><codeclass='in-band'>impl<L, R><aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></code><ahref='#impl'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#104-525'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.is_left'class="method"><codeid='is_left.v'>pub fn <ahref='#method.is_left'class='fnname'>is_left</a>(&self) -> bool</code><aclass='srclink'href='../src/either/lib.rs.html#114-119'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Return true if the value is the <code>Left</code> variant.</p>
<spanclass="kw">let</span><spanclass="ident">values</span><spanclass="op">=</span> [<spanclass="ident">Left</span>(<spanclass="number">1</span>), <spanclass="ident">Right</span>(<spanclass="string">"the right value"</span>)];
</div><h4id='method.is_right'class="method"><codeid='is_right.v'>pub fn <ahref='#method.is_right'class='fnname'>is_right</a>(&self) -> bool</code><aclass='srclink'href='../src/either/lib.rs.html#130-132'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Return true if the value is the <code>Right</code> variant.</p>
<spanclass="kw">let</span><spanclass="ident">values</span><spanclass="op">=</span> [<spanclass="ident">Left</span>(<spanclass="number">1</span>), <spanclass="ident">Right</span>(<spanclass="string">"the right value"</span>)];
</div><h4id='method.left'class="method"><codeid='left.v'>pub fn <ahref='#method.left'class='fnname'>left</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><L></code><aclass='srclink'href='../src/either/lib.rs.html#145-150'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Convert the left side of <code>Either<L, R></code> to an <code>Option<L></code>.</p>
</div><h4id='method.right'class="method"><codeid='right.v'>pub fn <ahref='#method.right'class='fnname'>right</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><R></code><aclass='srclink'href='../src/either/lib.rs.html#163-168'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Convert the right side of <code>Either<L, R></code> to an <code>Option<R></code>.</p>
</div><h4id='method.map_left'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></h3><codeclass="content"><spanclass="where fmt-newline">impl<L, R><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> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R><spanclass="where fmt-newline">where<br> L: <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>,<br> R: <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 = L::<aclass="type"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></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = L::<aclass="type"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></code></div></div><codeid='map_left.v'>pub fn <ahref='#method.map_left'class='fnname'>map_left</a><F, M>(self, f: F) -><aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><M, R><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(L) -> M, </span></code><aclass='srclink'href='../src/either/lib.rs.html#243-250'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Apply the function <code>f</code> on the value in the <code>Left</code> variant if it is present rewrapping the
</div><h4id='method.map_right'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></h3><codeclass="content"><spanclass="where fmt-newline">impl<L, R><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> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R><spanclass="where fmt-newline">where<br> L: <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>,<br> R: <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 = L::<aclass="type"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></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = L::<aclass="type"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></code></div></div><codeid='map_right.v'>pub fn <ahref='#method.map_right'class='fnname'>map_right</a><F, S>(self, f: F) -><aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, S><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(R) -> S, </span></code><aclass='srclink'href='../src/either/lib.rs.html#264-271'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Apply the function <code>f</code> on the value in the <code>Right</code> variant if it is present rewrapping the
</div><h4id='method.either'class="method"><codeid='either.v'>pub fn <ahref='#method.either'class='fnname'>either</a><F, G, T>(self, f: F, g: G) -> T <spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(L) -> T,<br> G: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(R) -> T, </span></code><aclass='srclink'href='../src/either/lib.rs.html#289-297'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Apply one of two functions depending on contents, unifying their result. If the value is
<code>Left(L)</code> then the first function <code>f</code> is applied; if it is <code>Right(R)</code> then the second
</div><h4id='method.left_and_then'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></h3><codeclass="content"><spanclass="where fmt-newline">impl<L, R><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> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R><spanclass="where fmt-newline">where<br> L: <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>,<br> R: <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 = L::<aclass="type"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></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = L::<aclass="type"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></code></div></div><codeid='left_and_then.v'>pub fn <ahref='#method.left_and_then'class='fnname'>left_and_then</a><F, S>(self, f: F) -><aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><S, R><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(L) -><aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><S, R>, </span></code><aclass='srclink'href='../src/either/lib.rs.html#339-346'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Apply the function <code>f</code> on the value in the <code>Left</code> variant if it is present.</p>
</div><h4id='method.right_and_then'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></h3><codeclass="content"><spanclass="where fmt-newline">impl<L, R><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> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R><spanclass="where fmt-newline">where<br> L: <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>,<br> R: <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 = L::<aclass="type"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></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = L::<aclass="type"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></code></div></div><codeid='right_and_then.v'>pub fn <ahref='#method.right_and_then'class='fnname'>right_and_then</a><F, S>(self, f: F) -><aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, S><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(R) -><aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, S>, </span></code><aclass='srclink'href='../src/either/lib.rs.html#359-366'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Apply the function <code>f</code> on the value in the <code>Right</code> variant if it is present.</p>
</div><h4id='method.left_or'class="method"><codeid='left_or.v'>pub fn <ahref='#method.left_or'class='fnname'>left_or</a>(self, other: L) -> L</code><aclass='srclink'href='../src/either/lib.rs.html#406-411'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Return left value or given value</p>
<p>Arguments passed to <code>left_or</code> are eagerly evaluated; if you are passing
the result of a function call, it is recommended to use <ahref="#method.left_or_else"><code>left_or_else</code></a>,
</div><h4id='method.left_or_default'class="method"><codeid='left_or_default.v'>pub fn <ahref='#method.left_or_default'class='fnname'>left_or_default</a>(self) -> L <spanclass="where fmt-newline">where<br> L: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a>, </span></code><aclass='srclink'href='../src/either/lib.rs.html#425-433'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Return left or a default</p>
</div><h4id='method.left_or_else'class="method"><codeid='left_or_else.v'>pub fn <ahref='#method.left_or_else'class='fnname'>left_or_else</a><F>(self, f: F) -> L <spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(R) -> L, </span></code><aclass='srclink'href='../src/either/lib.rs.html#447-455'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Returns left value or computes it from a closure</p>
</div><h4id='method.right_or'class="method"><codeid='right_or.v'>pub fn <ahref='#method.right_or'class='fnname'>right_or</a>(self, other: R) -> R</code><aclass='srclink'href='../src/either/lib.rs.html#475-480'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Return right value or given value</p>
<p>Arguments passed to <code>right_or</code> are eagerly evaluated; if you are passing
the result of a function call, it is recommended to use <ahref="#method.right_or_else"><code>right_or_else</code></a>,
</div><h4id='method.right_or_default'class="method"><codeid='right_or_default.v'>pub fn <ahref='#method.right_or_default'class='fnname'>right_or_default</a>(self) -> R <spanclass="where fmt-newline">where<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a>, </span></code><aclass='srclink'href='../src/either/lib.rs.html#494-502'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Return right or a default</p>
</div><h4id='method.right_or_else'class="method"><codeid='right_or_else.v'>pub fn <ahref='#method.right_or_else'class='fnname'>right_or_else</a><F>(self, f: F) -> R <spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(L) -> R, </span></code><aclass='srclink'href='../src/either/lib.rs.html#516-524'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Returns left value or computes it from a closure</p>
</div></div><h3id='impl-1'class='impl'><codeclass='in-band'>impl<T, L, R><aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><(T, L), (T, R)></code><ahref='#impl-1'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#527-546'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.factor_first'class="method"><codeid='factor_first.v'>pub fn <ahref='#method.factor_first'class='fnname'>factor_first</a>(self) -> (T, <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R>)</code><aclass='srclink'href='../src/either/lib.rs.html#540-545'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Factor out a homogeneous type from an either of pairs.</p>
</div></div><h3id='impl-2'class='impl'><codeclass='in-band'>impl<T, L, R><aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><(L, T), (R, T)></code><ahref='#impl-2'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#548-567'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.factor_second'class="method"><codeid='factor_second.v'>pub fn <ahref='#method.factor_second'class='fnname'>factor_second</a>(self) -> (<aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R>, T)</code><aclass='srclink'href='../src/either/lib.rs.html#561-566'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Factor out a homogeneous type from an either of pairs.</p>
</div></div><h3id='impl-3'class='impl'><codeclass='in-band'>impl<T><aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><T, T></code><ahref='#impl-3'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#569-584'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.into_inner'class="method"><codeid='into_inner.v'>pub fn <ahref='#method.into_inner'class='fnname'>into_inner</a>(self) -> T</code><aclass='srclink'href='../src/either/lib.rs.html#581-583'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Extract the value of an either over two equivalent types.</p>
</div></div><h3id='impl-From%3CResult%3CR%2C%20L%3E%3E'class='impl'><codeclass='in-band'>impl<L, R><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><R, L>> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></code><ahref='#impl-From%3CResult%3CR%2C%20L%3E%3E'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#587-594'title='goto source code'>[src]</a></h3><divclass='docblock'><p>Convert from <code>Result</code> to <code>Either</code> with <code>Ok => Right</code> and <code>Err => Left</code>.</p>
</div></div><h3id='impl-PartialEq%3CEither%3CL%2C%20R%3E%3E'class='impl'><codeclass='in-band'>impl<L: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a>, R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R>> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></code><ahref='#impl-PartialEq%3CEither%3CL%2C%20R%3E%3E'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq'class="method hidden"><codeid='eq.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R>) -> bool</code><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></div><h3id='impl-Eq'class='impl'><codeclass='in-band'>impl<L: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a>, R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></code><ahref='#impl-Eq'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Ord'class='impl'><codeclass='in-band'>impl<L: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a>, R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></code><ahref='#impl-Ord'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.cmp'class="method hidden"><codeid='cmp.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp'class='fnname'>cmp</a>(&self, other: &<aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a></code><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method returns an <code>Ordering</code> between <code>self</code> and <code>other</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></p>
</div><h4id='method.max'class="method hidden"><codeid='max.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max'class='fnname'>max</a>(self, other: Self) -> Self</code><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/cmp.rs.html#563-566'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Compares and returns the maximum of two values. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></p>
</div><h4id='method.min'class="method hidden"><codeid='min.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min'class='fnname'>min</a>(self, other: Self) -> Self</code><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/cmp.rs.html#580-583'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Compares and returns the minimum of two values. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></p>
</div><h4id='method.clamp'class="method hidden"><codeid='clamp.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp'class='fnname'>clamp</a>(self, min: Self, max: Self) -> Self</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#604-614'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>clamp</code>)</div></div><divclass='docblock hidden'><p>Restrict a value to a certain interval. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></p>
</div><h4id='method.lt'class="method hidden"><codeid='lt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt'class='fnname'>lt</a>(&self, other: &<aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R>) -> bool</code><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></p>
</div><h4id='method.le'class="method hidden"><codeid='le.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le'class='fnname'>le</a>(&self, other: &<aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R>) -> bool</code><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></p>
</div><h4id='method.gt'class="method hidden"><codeid='gt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt'class='fnname'>gt</a>(&self, other: &<aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R>) -> bool</code><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></p>
</div><h4id='method.ge'class="method hidden"><codeid='ge.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge'class='fnname'>ge</a>(&self, other: &<aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R>) -> bool</code><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></p>
</div></div><h3id='impl-Hash'class='impl'><codeclass='in-band'>impl<L: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a>, R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></code><ahref='#impl-Hash'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.hash'class="method hidden"><codeid='hash.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><__H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>>(&self, state: &mut __H)</code><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4id='method.hash_slice'class="method hidden"><codeid='hash_slice.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice'class='fnname'>hash_slice</a><H>(data: &[Self], state: &mut H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></code><spanclass='since'title='Stable since Rust version 1.3.0'>1.3.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3id='impl-Copy'class='impl'><codeclass='in-band'>impl<L: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a>, R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></code><ahref='#impl-Copy'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl<L: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a>, R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../src/either/lib.rs.html#43'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Display'class='impl'><codeclass='in-band'>impl<L, R><aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R><spanclass="where fmt-newline">where<br> L: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a>,<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a>, </span></code><ahref='#impl-Display'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#824-830'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt-1'class="method hidden"><codeid='fmt.v-1'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../src/either/lib.rs.html#827-829'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Extend%3CA%3E'class='impl'><codeclass='in-band'>impl<L, R, 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> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R><spanclass="where fmt-newline">where<br> L: <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> R: <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>, </span></code><ahref='#impl-Extend%3CA%3E'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#606-614'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.extend'class="method hidden"><codeid='extend.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.Extend.html#tymethod.extend'class='fnname'>extend</a><T>(&mut self, iter: T) <spanclass="where fmt-newline">where<br> T: <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 = A>, </span></code><aclass='srclink'href='../src/either/lib.rs.html#609-613'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Extends a collection with the contents of an iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.Extend.html#tymethod.extend">Read more</a></p>
</div></div><h3id='impl-ExactSizeIterator'class='impl'><codeclass='in-band'>impl<L, R><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> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R><spanclass="where fmt-newline">where<br> L: <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>,<br> R: <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><Item = L::<aclass="type"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></code><ahref='#impl-ExactSizeIterator'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#669-672'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.len'class="method hidden"><codeid='len.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/exact_size/trait.ExactSizeIterator.html#method.len'class='fnname'>len</a>(&self) -> usize</code><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/exact_size.rs.html#97-105'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the exact number of times the iterator will iterate. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/exact_size/trait.ExactSizeIterator.html#method.len">Read more</a></p>
</div><h4id='method.is_empty'class="method hidden"><codeid='is_empty.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/exact_size/trait.ExactSizeIterator.html#method.is_empty'class='fnname'>is_empty</a>(&self) -> bool</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/traits/exact_size.rs.html#129-131'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>exact_size_is_empty</code>)</div></div><divclass='docblock hidden'><p>Returns <code>true</code> if the iterator is empty. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/exact_size/trait.ExactSizeIterator.html#method.is_empty">Read more</a></p>
</div></div><h3id='impl-DoubleEndedIterator'class='impl'><codeclass='in-band'>impl<L, R><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> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R><spanclass="where fmt-newline">where<br> L: <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>,<br> R: <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 = L::<aclass="type"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></code><ahref='#impl-DoubleEndedIterator'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#661-667'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.next_back'class="method hidden"><codeid='next_back.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html#tymethod.next_back'class='fnname'>next_back</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="type"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>></code><aclass='srclink'href='../src/either/lib.rs.html#664-666'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Removes and returns an element from the end of the iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html#tymethod.next_back">Read more</a></p>
</div><h4id='method.nth_back'class="method hidden"><codeid='nth_back.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html#method.nth_back'class='fnname'>nth_back</a>(&mut self, n: usize) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>></code><spanclass='since'title='Stable since Rust version 1.37.0'>1.37.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/traits/double_ended.rs.html#114-120'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the <code>n</code>th element from the end of the iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html#method.nth_back">Read more</a></p>
</div><h4id='method.try_rfold'class="method hidden"><codeid='try_rfold.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html#method.try_rfold'class='fnname'>try_rfold</a><B, F, R>(&mut self, init: B, f: F) -> R <spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(B, Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/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.Try.html"title="trait core::ops::try::Try">Try</a><Ok = B>, </span></code><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/double_ended.rs.html#156-167'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This is the reverse version of [<code>try_fold()</code>]: it takes elements starting from the back of the iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html#method.try_rfold">Read more</a></p>
</div><h4id='method.rfold'class="method hidden"><codeid='rfold.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html#method.rfold'class='fnname'>rfold</a><B, F>(self, accum: B, f: F) -> B <spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(B, Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> B, </span></code><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/double_ended.rs.html#222-233'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>An iterator method that reduces the iterator's elements to a single, final value, starting from the back. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html#method.rfold">Read more</a></p>
</div><h4id='method.rfind'class="method hidden"><codeid='rfind.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html#method.rfind'class='fnname'>rfind</a><P>(&mut self, predicate: P) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/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="type"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>) -> bool, </span></code><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/double_ended.rs.html#279-294'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Searches for an element of an iterator from the back that satisfies a predicate. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html#method.rfind">Read more</a></p>
</div></div><h3id='impl-Iterator'class='impl'><codeclass='in-band'>impl<L, R><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> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R><spanclass="where fmt-newline">where<br> L: <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>,<br> R: <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 = L::<aclass="type"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></code><ahref='#impl-Iterator'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#617-659'title='goto source code'>[src]</a></h3><divclass='docblock'><p><code>Either<L, R></code> is an iterator if both <code>L</code> and <code>R</code> are iterators.</p>
</div><divclass='impl-items'><h4id='associatedtype.Item'class="type"><codeid='Item.t'>type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = L::<aclass="type"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></code></h4><divclass='docblock'><p>The type of the elements being iterated over.</p>
</div><h4id='method.next'class="method hidden"><codeid='next.v'>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="type"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>></code><aclass='srclink'href='../src/either/lib.rs.html#622-624'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.size_hint'class="method hidden"><codeid='size_hint.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.size_hint'class='fnname'>size_hint</a>(&self) -> (usize, <aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><usize>)</code><aclass='srclink'href='../src/either/lib.rs.html#626-628'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.count'class="method hidden"><codeid='count.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.count'class='fnname'>count</a>(self) -> usize</code><aclass='srclink'href='../src/either/lib.rs.html#636-638'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.nth'class="method hidden"><codeid='nth.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.nth'class='fnname'>nth</a>(&mut self, n: usize) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>></code><aclass='srclink'href='../src/either/lib.rs.html#644-646'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.collect'class="method hidden"><codeid='collect.v'>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="type"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></code><aclass='srclink'href='../src/either/lib.rs.html#648-652'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.all'class="method hidden"><codeid='all.v'>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) -> bool <spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> bool, </span></code><aclass='srclink'href='../src/either/lib.rs.html#654-658'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.step_by'class="method hidden"><codeid='step_by.v'>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: usize) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/struct.StepBy.html"title="struct core::iter::adapters::StepBy">StepBy</a><Self></code><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#375-377'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.chain'class="method hidden"><codeid='chain.v'>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="type"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="type"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></code><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#430-434'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.zip'class="method hidden"><codeid='zip.v'>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="type"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></code><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#508-512'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.map'class="method hidden"><codeid='map.v'>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/struct.Map.html"title="struct core::iter::adapters::Map">Map</a><Self, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> B, </span></code><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#565-569'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Takes a closure and creates an iterator which calls that closure on each element. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.map">Read more</a></p>
</div><h4id='method.for_each'class="method hidden"><codeid='for_each.v'>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="type"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></code><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#608-617'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.filter'class="method hidden"><codeid='filter.v'>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/struct.Filter.html"title="struct core::iter::adapters::Filter">Filter</a><Self, P><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> bool, </span></code><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#681-685'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an iterator which uses a closure to determine if an element should be yielded. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.filter">Read more</a></p>
</div><h4id='method.filter_map'class="method hidden"><codeid='filter_map.v'>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/struct.FilterMap.html"title="struct core::iter::adapters::FilterMap">FilterMap</a><Self, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/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></code><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#738-742'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.enumerate'class="method hidden"><codeid='enumerate.v'>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/struct.Enumerate.html"title="struct core::iter::adapters::Enumerate">Enumerate</a><Self></code><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#784-786'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an iterator which gives the current iteration count as well as the next value. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.enumerate">Read more</a></p>
</div><h4id='method.peekable'class="method hidden"><codeid='peekable.v'>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/struct.Peekable.html"title="struct core::iter::adapters::Peekable">Peekable</a><Self></code><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#830-832'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an iterator which can use <code>peek</code> to look at the next element of the iterator without consuming it. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.peekable">Read more</a></p>
</div><h4id='method.skip_while'class="method hidden"><codeid='skip_while.v'>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/struct.SkipWhile.html"title="struct core::iter::adapters::SkipWhile">SkipWhile</a><Self, P><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> bool, </span></code><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#891-895'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an iterator that [<code>skip</code>]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><h4id='method.take_while'class="method hidden"><codeid='take_while.v'>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/struct.TakeWhile.html"title="struct core::iter::adapters::TakeWhile">TakeWhile</a><Self, P><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> bool, </span></code><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#970-974'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.skip'class="method hidden"><codeid='skip.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.skip'class='fnname'>skip</a>(self, n: usize) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/struct.Skip.html"title="struct core::iter::adapters::Skip">Skip</a><Self></code><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#995-997'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.take'class="method hidden"><codeid='take.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.take'class='fnname'>take</a>(self, n: usize) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/struct.Take.html"title="struct core::iter::adapters::Take">Take</a><Self></code><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#1027-1029'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an iterator that yields its first <code>n</code> elements. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.take">Read more</a></p>
</div><h4id='method.scan'class="method hidden"><codeid='scan.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.scan'class='fnname'>scan</a><St, B, F>(self, initial_state: St, f: F) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/iter/adapters/struct.Scan.html"title="struct core::iter::adapters::Scan">Scan</a><Self, St, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&mut St, Self::<aclass="type"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></code><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#1070-1074'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>An iterator adaptor similar to [<code>fold</code>] that holds internal state and produces a new iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.scan">Read more</a></p>
</div><h4id='method.flat_map'class="method hidden"><codeid='flat_map.v'>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> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> U,<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></code><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#1108-1112'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.flatten'class="method hidden"><codeid='flatten.v'>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="type"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></code><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#1177-1180'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.fuse'class="method hidden"><codeid='fuse.v'>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/struct.Fuse.html"title="struct core::iter::adapters::Fuse">Fuse</a><Self></code><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#1238-1240'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an iterator which ends after the first [<code>None</code>]. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.fuse">Read more</a></p>
</div><h4id='method.inspect'class="method hidden"><codeid='inspect.v'>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/struct.Inspect.html"title="struct core::iter::adapters::Inspect">Inspect</a><Self, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>), </span></code><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#1319-1323'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Do 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><h4id='method.by_ref'class="method hidden"><codeid='by_ref.v'>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) ->&mut Self</code><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#1362'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.partition'class="method hidden"><codeid='partition.v'>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) -> (B, B) <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="type"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="type"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>) -> bool, </span></code><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#1507-1533'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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>
</details></div></div><divclass='docblock hidden'><p>Reorder the elements of this iterator in-place 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>
</details></div></div><divclass='docblock hidden'><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><h4id='method.try_fold'class="method hidden"><codeid='try_fold.v'>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="type"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.Try.html"title="trait core::ops::try::Try">Try</a><Ok = B>, </span></code><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#1689-1697'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.try_for_each'class="method hidden"><codeid='try_for_each.v'>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="type"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.Try.html"title="trait core::ops::try::Try">Try</a><Ok = ()>, </span></code><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#1728-1737'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.any'class="method hidden"><codeid='any.v'>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) -> bool <spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> bool, </span></code><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#1911-1924'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.find'class="method hidden"><codeid='find.v'>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="type"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="type"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>) -> bool, </span></code><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#1970-1983'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.find_map'class="method hidden"><codeid='find_map.v'>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="type"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></code><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#2002-2015'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Applies function to the elements of iterator and returns the first non-none result. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.find_map">Read more</a></p>
</div><h4id='method.position'class="method hidden"><codeid='position.v'>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><usize><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> bool, </span></code><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#2073-2089'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.rposition'class="method hidden"><codeid='rposition.v'>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><usize><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::traits::iterator::Iterator::Item">Item</a>) -> bool,<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></code><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#2131-2150'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Searches for an element in an iterator from the right, returning its index. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.rposition">Read more</a></p>
</div><h4id='method.max-1'class="method hidden"><codeid='max.v-1'>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="type"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="type"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></code><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#2172-2175'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.min-1'class="method hidden"><codeid='min.v-1'>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="type"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="type"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></code><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#2197-2200'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.max_by_key'class="method hidden"><codeid='max_by_key.v'>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="type"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="type"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></code><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#2218-2234'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the element that gives the maximum value from the specified function. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.max_by_key">Read more</a></p>
</div><h4id='method.max_by'class="method hidden"><codeid='max_by.v'>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="type"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="type"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="type"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></code><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#2252-2262'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the element that gives the maximum value with respect to the specified comparison function. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.max_by">Read more</a></p>
</div><h4id='method.min_by_key'class="method hidden"><codeid='min_by_key.v'>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="type"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="type"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></code><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#2280-2296'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the element that gives the minimum value from the specified function. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.min_by_key">Read more</a></p>
</div><h4id='method.min_by'class="method hidden"><codeid='min_by.v'>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="type"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="type"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="type"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></code><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#2314-2324'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Returns the element that gives the minimum value with respect to the specified comparison function. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.min_by">Read more</a></p>
</div><h4id='method.rev'class="method hidden"><codeid='rev.v'>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/struct.Rev.html"title="struct core::iter::adapters::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></code><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#2352-2354'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.unzip'class="method hidden"><codeid='unzip.v'>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) -> (FromA, FromB) <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 = (A, B)>, </span></code><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#2379-2400'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.copied'class="method hidden"><codeid='copied.v'>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/struct.Copied.html"title="struct core::iter::adapters::Copied">Copied</a><Self><spanclass="where fmt-newline">where<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 = &'a T>,<br> T: 'a + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a>, </span></code><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#2423-2427'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.cloned'class="method hidden"><codeid='cloned.v'>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/struct.Cloned.html"title="struct core::iter::adapters::Cloned">Cloned</a><Self><spanclass="where fmt-newline">where<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 = &'a T>,<br> T: 'a + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><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#2452-2456'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Creates an iterator which [<code>clone</code>]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><h4id='method.cycle'class="method hidden"><codeid='cycle.v'>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/struct.Cycle.html"title="struct core::iter::adapters::Cycle">Cycle</a><Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></code><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#2485-2487'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.sum'class="method hidden"><codeid='sum.v'>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="type"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></code><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#2512-2517'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.product'class="method hidden"><codeid='product.v'>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="type"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></code><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#2540-2545'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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><h4id='method.cmp-1'class="method hidden"><codeid='cmp.v-1'>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="type"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="type"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></code><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#2550-2577'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Lexicographically compares the elements of this <code>Iterator</code> with those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.cmp">Read more</a></p>
</div><h4id='method.partial_cmp-1'class="method hidden"><codeid='partial_cmp.v-1'>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="type"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="type"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></code><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#2582-2609'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Lexicographically compares the elements of this <code>Iterator</code> with those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.partial_cmp">Read more</a></p>
</div><h4id='method.eq-1'class="method hidden"><codeid='eq.v-1'>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) -> bool <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="type"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="type"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></code><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#2614-2634'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Determines if the elements of this <code>Iterator</code> are equal to those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.eq">Read more</a></p>
</div><h4id='method.ne-1'class="method hidden"><codeid='ne.v-1'>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) -> bool <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="type"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="type"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></code><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#2639-2645'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Determines if the elements of this <code>Iterator</code> are unequal to those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.ne">Read more</a></p>
</div><h4id='method.lt-1'class="method hidden"><codeid='lt.v-1'>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) -> bool <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="type"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="type"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></code><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#2650-2656'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Determines if the elements of this <code>Iterator</code> are lexicographically less than those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.lt">Read more</a></p>
</div><h4id='method.le-1'class="method hidden"><codeid='le.v-1'>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) -> bool <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="type"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="type"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></code><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#2661-2670'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Determines if the elements of this <code>Iterator</code> are lexicographically less or equal to those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.le">Read more</a></p>
</div><h4id='method.gt-1'class="method hidden"><codeid='gt.v-1'>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) -> bool <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="type"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="type"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></code><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#2675-2681'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Determines if the elements of this <code>Iterator</code> are lexicographically greater than those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.gt">Read more</a></p>
</div><h4id='method.ge-1'class="method hidden"><codeid='ge.v-1'>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) -> bool <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="type"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="type"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></code><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#2686-2695'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Determines if the elements of this <code>Iterator</code> are lexicographically greater than or equal to those of another. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.ge">Read more</a></p>
</div><h4id='method.is_sorted'class="method hidden"><codeid='is_sorted.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.is_sorted'class='fnname'>is_sorted</a>(self) -> bool <spanclass="where fmt-newline">where<br> Self::<aclass="type"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="type"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></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#2719-2725'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><details><summary><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>is_sorted</code>)</summary><p>new API</p>
</details></div></div><divclass='docblock hidden'><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>
</details></div></div><divclass='docblock hidden'><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>
</details></div></div><divclass='docblock hidden'><p>Checks if the elements of this iterator are sorted using the given key extraction function. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#method.is_sorted_by_key">Read more</a></p>
</div></div><h3id='impl-Into%3CResult%3CR%2C%20L%3E%3E'class='impl'><codeclass='in-band'>impl<L, R><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><R, L>> for <aclass="enum"href="../either/enum.Either.html"title="enum either::Either">Either</a><L, R></code><ahref='#impl-Into%3CResult%3CR%2C%20L%3E%3E'class='anchor'></a><aclass='srclink'href='../src/either/lib.rs.html#597-604'title='goto source code'>[src]</a></h3><divclass='docblock'><p>Convert from <code>Either</code> to <code>Result</code> with <code>Right => Ok</code> and <code>Left => Err</code>.</p>
</div></div><h3id='impl-TryFrom%3CU%3E'class='impl'><codeclass='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></code><ahref='#impl-TryFrom%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#571-577'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error'class="type"><codeid='Error.t'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error'class="type">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_from'class="method hidden"><codeid='try_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from'class='fnname'>try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#574-576'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-IntoIterator'class='impl'><codeclass='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></code><ahref='#impl-IntoIterator'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/traits/collect.rs.html#242-249'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Item-1'class="type"><codeid='Item.t-1'>type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item'class="type">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="type"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></code></h4><divclass='docblock'><p>The type of the elements being iterated over.</p>
</div><h4id='associatedtype.IntoIter'class="type"><codeid='IntoIter.t'>type <ahref='https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter'class="type">IntoIter</a> = I</code></h4><divclass='docblock'><p>Which kind of iterator are we turning this into?</p>
</div><h4id='method.into_iter-1'class="method hidden"><codeid='into_iter.v-1'>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</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/iter/traits/collect.rs.html#246-248'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><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></div><h3id='impl-TryInto%3CU%3E'class='impl'><codeclass='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></code><ahref='#impl-TryInto%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#559-566'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error-1'class="type"><codeid='Error.t-1'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error'class="type">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="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_into'class="method hidden"><codeid='try_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into'class='fnname'>try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <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="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#563-565'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-Any'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Any'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.type_id'class="method hidden"><codeid='type_id.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id'class='fnname'>type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div></div></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><divclass="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath="../";window.currentCrate="either";</script><scriptsrc="../aliases.js"></script><scriptsrc="../main.js"></script><scriptdefersrc="../search-index.js"></script></body></html>