<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Draining parallel iterator that moves a range of characters out of a string, but keeps the total capacity."><meta name="keywords" content="rust, rustlang, rust-lang, Drain"><title>Drain in rayon::string - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><script src="../../crates.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../rayon/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><h2 class="location">Struct Drain</h2><div class="sidebar-elems"><div class="block items"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-Debug">Debug</a><a href="#impl-Drop">Drop</a><a href="#impl-ParallelIterator">ParallelIterator</a></div><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">!UnwindSafe</a></div><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-IntoParallelIterator">IntoParallelIterator</a><a href="#impl-Pointable">Pointable</a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><h2 class="location">Other items in<br><a href="../index.html">rayon</a>::<wbr><a href="index.html">string</a></h2><div id="sidebar-vars" data-name="Drain" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img src="../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../index.html">rayon</a>::<wbr><a href="index.html">string</a>::<wbr><a class="struct" href="#">Drain</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/rayon/string.rs.html#25-28" title="goto source code">[src]</a></span></h1><div class="docblock type-decl"><pre class="rust struct">pub struct Drain<'a> { /* fields omitted */ }</pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Draining parallel iterator that moves a range of characters out of a string,
but keeps the total capacity.</p>
</div></details><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-Debug" class="impl has-srclink"><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Drain.html" title="struct rayon::string::Drain">Drain</a><'a></h3><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../src/rayon/string.rs.html#24" title="goto source code">[src]</a></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.fmt" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.54.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.54.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.54.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4><a href="#method.fmt" class="anchor"></a><a class="srclink" href="../../src/rayon/string.rs.html#24" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.54.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-Drop" class="impl has-srclink"><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="struct.Drain.html" title="struct rayon::string::Drain">Drain</a><'a></h3><a href="#impl-Drop" class="anchor"></a><a class="srclink" href="../../src/rayon/string.rs.html#43-48" title="goto source code">[src]</a></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.drop" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.54.0/core/ops/drop/trait.Drop.html#tymethod.drop" class="fnname">drop</a>(&mut self)</h4><a href="#method.drop" class="anchor"></a><a class="srclink" href="../../src/rayon/string.rs.html#44-47" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Executes the destructor for this type. <a href="https://doc.rust-lang.org/1.54.0/core/ops/drop/trait.Drop.html#tymethod.drop">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-ParallelIterator" class="impl has-srclink"><h3 class="code-header in-band">impl<'a> <a class="trait" href="../iter/trait.ParallelIterator.html" title="trait rayon::iter::ParallelIterator">ParallelIterator</a> for <a class="struct" href="struct.Drain.html" title="struct rayon::string::Drain">Drain</a><'a></h3><a href="#impl-ParallelIterator" class="anchor"></a><a class="srclink" href="../../src/rayon/string.rs.html#30-41" title="goto source code">[src]</a></div></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Item" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="../iter/trait.ParallelIterator.html#associatedtype.Item" class="type">Item</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.char.html">char</a></h4><a href="#associatedtype.Item" class="anchor"></a></div></summary><div class='docblock'><p>The type of item that this parallel iterator produces.
For example, if you use the <a href="#method.for_each"><code>for_each</code></a> method, this is the type of
item that your closure will be invoked with. <a href="../iter/trait.ParallelIterator.html#associatedtype.Item">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.drive_unindexed" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#tymethod.drive_unindexed" class="fnname">drive_unindexed</a><C>(self, consumer: C) -> C::<a class="type" href="../iter/plumbing/trait.Consumer.html#associatedtype.Result" title="type rayon::iter::plumbing::Consumer::Result">Result</a> <span class="where fmt-newline">where<br> C: <a class="trait" href="../iter/plumbing/trait.UnindexedConsumer.html" title="trait rayon::iter::plumbing::UnindexedConsumer">UnindexedConsumer</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>>, </span></h4><a href="#method.drive_unindexed" class="anchor"></a><a class="srclink" href="../../src/rayon/string.rs.html#33-40" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Internal method used to define the behavior of this parallel
iterator. You should not need to call this directly. <a href="../iter/trait.ParallelIterator.html#tymethod.drive_unindexed">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.for_each" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.for_each" class="fnname">for_each</a><OP>(self, op: OP) <span class="where fmt-newline">where<br> OP: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.for_each" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#365-370" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Executes <code>OP</code> on each item produced by the iterator, in parallel. <a href="../iter/trait.ParallelIterator.html#method.for_each">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.for_each_with" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.for_each_with" class="fnname">for_each_with</a><OP, T>(self, init: T, op: OP) <span class="where fmt-newline">where<br> OP: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&mut </a>T, Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> T: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </span></h4><a href="#method.for_each_with" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#395-401" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Executes <code>OP</code> on the given <code>init</code> value with each item produced by
the iterator, in parallel. <a href="../iter/trait.ParallelIterator.html#method.for_each_with">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.for_each_init" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.for_each_init" class="fnname">for_each_init</a><OP, INIT, T>(self, init: INIT, op: OP) <span class="where fmt-newline">where<br> OP: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&mut </a>T, Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> INIT: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -> T + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.for_each_init" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#429-435" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Executes <code>OP</code> on a value returned by <code>init</code> with each item produced by
the iterator, in parallel. <a href="../iter/trait.ParallelIterator.html#method.for_each_init">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.try_for_each" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.try_for_each" class="fnname">try_for_each</a><OP, R>(self, op: OP) -> R <span class="where fmt-newline">where<br> OP: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> R + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> R: Try<Ok = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.unit.html">()</a>> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.try_for_each" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#457-467" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Executes a fallible <code>OP</code> on each item produced by the iterator, in parallel. <a href="../iter/trait.ParallelIterator.html#method.try_for_each">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.try_for_each_with" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.try_for_each_with" class="fnname">try_for_each_with</a><OP, T, R>(self, init: T, op: OP) -> R <span class="where fmt-newline">where<br> OP: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&mut </a>T, Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> R + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> T: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br> R: Try<Ok = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.unit.html">()</a>> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.try_for_each_with" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#496-507" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Executes a fallible <code>OP</code> on the given <code>init</code> value with each item
produced by the iterator, in parallel. <a href="../iter/trait.ParallelIterator.html#method.try_for_each_with">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.try_for_each_init" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.try_for_each_init" class="fnname">try_for_each_init</a><OP, INIT, T, R>(self, init: INIT, op: OP) -> R <span class="where fmt-newline">where<br> OP: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&mut </a>T, Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> R + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> INIT: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -> T + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> R: Try<Ok = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.unit.html">()</a>> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.try_for_each_init" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#538-549" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Executes a fallible <code>OP</code> on a value returned by <code>init</code> with each item
produced by the iterator, in parallel. <a href="../iter/trait.ParallelIterator.html#method.try_for_each_init">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.count" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.count" class="fnname">count</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.usize.html">usize</a></h4><a href="#method.count" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#562-568" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Counts the number of items in this parallel iterator. <a href="../iter/trait.ParallelIterator.html#method.count">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.map" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.map" class="fnname">map</a><F, R>(self, map_op: F) -> <a class="struct" href="../iter/struct.Map.html" title="struct rayon::iter::Map">Map</a><Self, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> R + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.map" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#584-590" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Applies <code>map_op</code> to each item of this iterator, producing a new
iterator with the results. <a href="../iter/trait.ParallelIterator.html#method.map">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.map_with" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.map_with" class="fnname">map_with</a><F, T, R>(self, init: T, map_op: F) -> <a class="struct" href="../iter/struct.MapWith.html" title="struct rayon::iter::MapWith">MapWith</a><Self, T, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&mut </a>T, Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> R + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> T: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.map_with" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#621-628" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Applies <code>map_op</code> to the given <code>init</code> value with each item of this
iterator, producing a new iterator with the results. <a href="../iter/trait.ParallelIterator.html#method.map_with">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.map_init" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.map_init" class="fnname">map_init</a><F, INIT, T, R>(<br> self, <br> init: INIT, <br> map_op: F<br>) -> <a class="struct" href="../iter/struct.MapInit.html" title="struct rayon::iter::MapInit">MapInit</a><Self, INIT, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&mut </a>T, Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> R + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> INIT: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -> T + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.map_init" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#658-665" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Applies <code>map_op</code> to a value returned by <code>init</code> with each item of this
iterator, producing a new iterator with the results. <a href="../iter/trait.ParallelIterator.html#method.map_init">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.cloned" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.cloned" class="fnname">cloned</a><'a, T>(self) -> <a class="struct" href="../iter/struct.Cloned.html" title="struct rayon::iter::Cloned">Cloned</a><Self> <span class="where fmt-newline">where<br> T: 'a + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> Self: <a class="trait" href="../iter/trait.ParallelIterator.html" title="trait rayon::iter::ParallelIterator">ParallelIterator</a><Item = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&'a </a>T>, </span></h4><a href="#method.cloned" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#688-694" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Creates an iterator which clones all of its elements. This may be
useful when you have an iterator over <code>&T</code>, but you need <code>T</code>, and
that type implements <code>Clone</code>. See also <a href="#method.copied"><code>copied()</code></a>. <a href="../iter/trait.ParallelIterator.html#method.cloned">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.copied" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.copied" class="fnname">copied</a><'a, T>(self) -> <a class="struct" href="../iter/struct.Copied.html" title="struct rayon::iter::Copied">Copied</a><Self> <span class="where fmt-newline">where<br> T: 'a + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> Self: <a class="trait" href="../iter/trait.ParallelIterator.html" title="trait rayon::iter::ParallelIterator">ParallelIterator</a><Item = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&'a </a>T>, </span></h4><a href="#method.copied" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#717-723" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Creates an iterator which copies all of its elements. This may be
useful when you have an iterator over <code>&T</code>, but you need <code>T</code>, and
that type implements <code>Copy</code>. See also <a href="#method.cloned"><code>cloned()</code></a>. <a href="../iter/trait.ParallelIterator.html#method.copied">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.inspect" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.inspect" class="fnname">inspect</a><OP>(self, inspect_op: OP) -> <a class="struct" href="../iter/struct.Inspect.html" title="struct rayon::iter::Inspect">Inspect</a><Self, OP> <span class="where fmt-newline">where<br> OP: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.inspect" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#754-759" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Applies <code>inspect_op</code> to a reference to each item of this iterator,
producing a new iterator passing through the original items. This is
often useful for debugging to see what’s happening in iterator stages. <a href="../iter/trait.ParallelIterator.html#method.inspect">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.update" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.update" class="fnname">update</a><F>(self, update_op: F) -> <a class="struct" href="../iter/struct.Update.html" title="struct rayon::iter::Update">Update</a><Self, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&mut Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.update" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#774-779" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Mutates each item of this iterator before yielding it. <a href="../iter/trait.ParallelIterator.html#method.update">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.filter" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.filter" class="fnname">filter</a><P>(self, filter_op: P) -> <a class="struct" href="../iter/struct.Filter.html" title="struct rayon::iter::Filter">Filter</a><Self, P> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.bool.html">bool</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.filter" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#795-800" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Applies <code>filter_op</code> to each item of this iterator, producing a new
iterator with only the items that gave <code>true</code> results. <a href="../iter/trait.ParallelIterator.html#method.filter">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.filter_map" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.filter_map" class="fnname">filter_map</a><P, R>(self, filter_op: P) -> <a class="struct" href="../iter/struct.FilterMap.html" title="struct rayon::iter::FilterMap">FilterMap</a><Self, P> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><R> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.filter_map" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#820-826" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Applies <code>filter_op</code> to each item of this iterator to get an <code>Option</code>,
producing a new iterator with only the items from <code>Some</code> results. <a href="../iter/trait.ParallelIterator.html#method.filter_map">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.flat_map" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.flat_map" class="fnname">flat_map</a><F, PI>(self, map_op: F) -> <a class="struct" href="../iter/struct.FlatMap.html" title="struct rayon::iter::FlatMap">FlatMap</a><Self, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> PI + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> PI: <a class="trait" href="../iter/trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>, </span></h4><a href="#method.flat_map" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#846-852" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Applies <code>map_op</code> to each item of this iterator to get nested parallel iterators,
producing a new parallel iterator that flattens these back into one. <a href="../iter/trait.ParallelIterator.html#method.flat_map">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.flat_map_iter" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.flat_map_iter" class="fnname">flat_map_iter</a><F, SI>(self, map_op: F) -> <a class="struct" href="../iter/struct.FlatMapIter.html" title="struct rayon::iter::FlatMapIter">FlatMapIter</a><Self, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> SI + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> SI: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,<br> SI::<a class="type" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item" title="type core::iter::traits::collect::IntoIterator::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.flat_map_iter" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#892-899" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Applies <code>map_op</code> to each item of this iterator to get nested serial iterators,
producing a new parallel iterator that flattens these back into one. <a href="../iter/trait.ParallelIterator.html#method.flat_map_iter">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.flatten" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.flatten" class="fnname">flatten</a>(self) -> <a class="struct" href="../iter/struct.Flatten.html" title="struct rayon::iter::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>: <a class="trait" href="../iter/trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>, </span></h4><a href="#method.flatten" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#915-920" title="goto source code">[src]</a></div></summary><div class='docblock'><p>An adaptor that flattens parallel-iterable <code>Item</code>s into one large iterator. <a href="../iter/trait.ParallelIterator.html#method.flatten">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.flatten_iter" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.flatten_iter" class="fnname">flatten_iter</a>(self) -> <a class="struct" href="../iter/struct.FlattenIter.html" title="struct rayon::iter::FlattenIter">FlattenIter</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,<br> <Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<a class="type" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item" title="type core::iter::traits::collect::IntoIterator::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.flatten_iter" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#938-944" title="goto source code">[src]</a></div></summary><div class='docblock'><p>An adaptor that flattens serial-iterable <code>Item</code>s into one large iterator. <a href="../iter/trait.ParallelIterator.html#method.flatten_iter">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.reduce" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.reduce" class="fnname">reduce</a><OP, ID>(self, identity: ID, op: OP) -> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a> <span class="where fmt-newline">where<br> OP: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>, Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> ID: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.reduce" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#976-982" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Reduces the items in the iterator into one item using <code>op</code>.
The argument <code>identity</code> should be a closure that can produce
“identity” value which may be inserted into the sequence as
needed to create opportunities for parallel execution. So, for
example, if you are doing a summation, then <code>identity()</code> ought
to produce something that represents the zero for your type
(but consider just calling <code>sum()</code> in that case). <a href="../iter/trait.ParallelIterator.html#method.reduce">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.reduce_with" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.reduce_with" class="fnname">reduce_with</a><OP>(self, op: OP) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> <span class="where fmt-newline">where<br> OP: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>, Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.reduce_with" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1010-1031" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Reduces the items in the iterator into one item using <code>op</code>.
If the iterator is empty, <code>None</code> is returned; otherwise,
<code>Some</code> is returned. <a href="../iter/trait.ParallelIterator.html#method.reduce_with">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.try_reduce" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.try_reduce" class="fnname">try_reduce</a><T, OP, ID>(self, identity: ID, op: OP) -> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a> <span class="where fmt-newline">where<br> OP: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(T, T) -> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> ID: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -> T + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>: Try<Ok = T>, </span></h4><a href="#method.try_reduce" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1064-1071" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Reduces the items in the iterator into one item using a fallible <code>op</code>.
The <code>identity</code> argument is used the same way as in <a href="#method.reduce"><code>reduce()</code></a>. <a href="../iter/trait.ParallelIterator.html#method.try_reduce">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.try_reduce_with" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.try_reduce_with" class="fnname">try_reduce_with</a><T, OP>(self, op: OP) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> <span class="where fmt-newline">where<br> OP: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(T, T) -> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>: Try<Ok = T>, </span></h4><a href="#method.try_reduce_with" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1108-1114" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Reduces the items in the iterator into one item using a fallible <code>op</code>. <a href="../iter/trait.ParallelIterator.html#method.try_reduce_with">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.fold" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.fold" class="fnname">fold</a><T, ID, F>(self, identity: ID, fold_op: F) -> <a class="struct" href="../iter/struct.Fold.html" title="struct rayon::iter::Fold">Fold</a><Self, ID, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(T, Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> T + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> ID: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -> T + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> T: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.fold" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1249-1256" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Parallel fold is similar to sequential fold except that the
sequence of items may be subdivided before it is
folded. Consider a list of numbers like <code>22 3 77 89 46</code>. If
you used sequential fold to add them (<code>fold(0, |a,b| a+b)</code>,
you would wind up first adding 0 + 22, then 22 + 3, then 25 +
77, and so forth. The <strong>parallel fold</strong> works similarly except
that it first breaks up your list into sublists, and hence
instead of yielding up a single sum at the end, it yields up
multiple sums. The number of results is nondeterministic, as
is the point where the breaks occur. <a href="../iter/trait.ParallelIterator.html#method.fold">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.fold_with" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.fold_with" class="fnname">fold_with</a><F, T>(self, init: T, fold_op: F) -> <a class="struct" href="../iter/struct.FoldWith.html" title="struct rayon::iter::FoldWith">FoldWith</a><Self, T, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(T, Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> T + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> T: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </span></h4><a href="#method.fold_with" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1277-1283" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Applies <code>fold_op</code> to the given <code>init</code> value with each item of this
iterator, finally producing the value for further use. <a href="../iter/trait.ParallelIterator.html#method.fold_with">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.try_fold" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.try_fold" class="fnname">try_fold</a><T, R, ID, F>(<br> self, <br> identity: ID, <br> fold_op: F<br>) -> <a class="struct" href="../iter/struct.TryFold.html" title="struct rayon::iter::TryFold">TryFold</a><Self, R, ID, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(T, Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> R + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> ID: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -> T + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> R: Try<Ok = T> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.try_fold" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1310-1317" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Performs a fallible parallel fold. <a href="../iter/trait.ParallelIterator.html#method.try_fold">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.try_fold_with" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.try_fold_with" class="fnname">try_fold_with</a><F, T, R>(self, init: T, fold_op: F) -> <a class="struct" href="../iter/struct.TryFoldWith.html" title="struct rayon::iter::TryFoldWith">TryFoldWith</a><Self, R, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(T, Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> R + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> R: Try<Ok = T> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> T: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.try_fold_with" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1337-1344" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Performs a fallible parallel fold with a cloneable <code>init</code> value. <a href="../iter/trait.ParallelIterator.html#method.try_fold_with">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.sum" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.sum" class="fnname">sum</a><S>(self) -> S <span class="where fmt-newline">where<br> S: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a><S>, </span></h4><a href="#method.sum" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1370-1375" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Sums up the items in the iterator. <a href="../iter/trait.ParallelIterator.html#method.sum">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.product" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.product" class="fnname">product</a><P>(self) -> P <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/accum/trait.Product.html" title="trait core::iter::traits::accum::Product">Product</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/accum/trait.Product.html" title="trait core::iter::traits::accum::Product">Product</a><P>, </span></h4><a href="#method.product" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1403-1408" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Multiplies all the items in the iterator. <a href="../iter/trait.ParallelIterator.html#method.product">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.min" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.min" class="fnname">min</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> <span class="where fmt-newline">where<br> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>, </span></h4><a href="#method.min" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1433-1438" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Computes the minimum of all the items in the iterator. If the
iterator is empty, <code>None</code> is returned; otherwise, <code>Some(min)</code>
is returned. <a href="../iter/trait.ParallelIterator.html#method.min">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.min_by" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.min_by" class="fnname">min_by</a><F>(self, f: F) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>, &Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>, </span></h4><a href="#method.min_by" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1457-1469" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Computes the minimum of all the items in the iterator with respect to
the given comparison function. If the iterator is empty, <code>None</code> is
returned; otherwise, <code>Some(min)</code> is returned. <a href="../iter/trait.ParallelIterator.html#method.min_by">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.min_by_key" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.min_by_key" class="fnname">min_by_key</a><K, F>(self, f: F) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> <span class="where fmt-newline">where<br> K: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> K, </span></h4><a href="#method.min_by_key" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1488-1506" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Computes the item that yields the minimum value for the given
function. If the iterator is empty, <code>None</code> is returned;
otherwise, <code>Some(item)</code> is returned. <a href="../iter/trait.ParallelIterator.html#method.min_by_key">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.max" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.max" class="fnname">max</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> <span class="where fmt-newline">where<br> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>, </span></h4><a href="#method.max" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1531-1536" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Computes the maximum of all the items in the iterator. If the
iterator is empty, <code>None</code> is returned; otherwise, <code>Some(max)</code>
is returned. <a href="../iter/trait.ParallelIterator.html#method.max">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.max_by" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.max_by" class="fnname">max_by</a><F>(self, f: F) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>, &Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>, </span></h4><a href="#method.max_by" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1555-1567" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Computes the maximum of all the items in the iterator with respect to
the given comparison function. If the iterator is empty, <code>None</code> is
returned; otherwise, <code>Some(min)</code> is returned. <a href="../iter/trait.ParallelIterator.html#method.max_by">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.max_by_key" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.max_by_key" class="fnname">max_by_key</a><K, F>(self, f: F) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> <span class="where fmt-newline">where<br> K: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> F: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> K, </span></h4><a href="#method.max_by_key" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1586-1604" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Computes the item that yields the maximum value for the given
function. If the iterator is empty, <code>None</code> is returned;
otherwise, <code>Some(item)</code> is returned. <a href="../iter/trait.ParallelIterator.html#method.max_by_key">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.chain" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.chain" class="fnname">chain</a><C>(self, chain: C) -> <a class="struct" href="../iter/struct.Chain.html" title="struct rayon::iter::Chain">Chain</a><Self, C::<a class="type" href="../iter/trait.IntoParallelIterator.html#associatedtype.Iter" title="type rayon::iter::IntoParallelIterator::Iter">Iter</a>> <span class="where fmt-newline">where<br> C: <a class="trait" href="../iter/trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a><Item = Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>>, </span></h4><a href="#method.chain" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1622-1627" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Takes two iterators and creates a new iterator over both. <a href="../iter/trait.ParallelIterator.html#method.chain">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.find_any" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.find_any" class="fnname">find_any</a><P>(self, predicate: P) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.bool.html">bool</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.find_any" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1652-1657" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Searches for <strong>some</strong> item in the parallel iterator that
matches the given predicate and returns it. This operation
is similar to <a href="https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.find"><code>find</code> on sequential iterators</a> but
the item returned may not be the <strong>first</strong> one in the parallel
sequence which matches, since we search the entire sequence in parallel. <a href="../iter/trait.ParallelIterator.html#method.find_any">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.find_first" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.find_first" class="fnname">find_first</a><P>(self, predicate: P) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.bool.html">bool</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.find_first" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1682-1687" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Searches for the sequentially <strong>first</strong> item in the parallel iterator
that matches the given predicate and returns it. <a href="../iter/trait.ParallelIterator.html#method.find_first">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.find_last" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.find_last" class="fnname">find_last</a><P>(self, predicate: P) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.bool.html">bool</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.find_last" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1711-1716" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Searches for the sequentially <strong>last</strong> item in the parallel iterator
that matches the given predicate and returns it. <a href="../iter/trait.ParallelIterator.html#method.find_last">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.find_map_any" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.find_map_any" class="fnname">find_map_any</a><P, R>(self, predicate: P) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><R> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><R> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.find_map_any" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1741-1750" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Applies the given predicate to the items in the parallel iterator
and returns <strong>any</strong> non-None result of the map operation. <a href="../iter/trait.ParallelIterator.html#method.find_map_any">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.find_map_first" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.find_map_first" class="fnname">find_map_first</a><P, R>(self, predicate: P) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><R> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><R> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.find_map_first" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1775-1784" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Applies the given predicate to the items in the parallel iterator and
returns the sequentially <strong>first</strong> non-None result of the map operation. <a href="../iter/trait.ParallelIterator.html#method.find_map_first">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.find_map_last" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.find_map_last" class="fnname">find_map_last</a><P, R>(self, predicate: P) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><R> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><R> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.find_map_last" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1809-1818" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Applies the given predicate to the items in the parallel iterator and
returns the sequentially <strong>last</strong> non-None result of the map operation. <a href="../iter/trait.ParallelIterator.html#method.find_map_last">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.any" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.any" class="fnname">any</a><P>(self, predicate: P) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.bool.html">bool</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.any" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1847-1852" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Searches for <strong>some</strong> item in the parallel iterator that
matches the given predicate, and if so returns true. Once
a match is found, we’ll attempt to stop process the rest
of the items. Proving that there’s no match, returning false,
does require visiting every item. <a href="../iter/trait.ParallelIterator.html#method.any">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.all" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.all" class="fnname">all</a><P>(self, predicate: P) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.bool.html">bool</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.all" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1869-1879" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Tests that every item in the parallel iterator matches the given
predicate, and if so returns true. If a counter-example is found,
we’ll attempt to stop processing more items, then return false. <a href="../iter/trait.ParallelIterator.html#method.all">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.while_some" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.while_some" class="fnname">while_some</a><T>(self) -> <a class="struct" href="../iter/struct.WhileSome.html" title="struct rayon::iter::WhileSome">WhileSome</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../iter/trait.ParallelIterator.html" title="trait rayon::iter::ParallelIterator">ParallelIterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><T>>,<br> T: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.while_some" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1903-1909" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Creates an iterator over the <code>Some</code> items of this iterator, halting
as soon as any <code>None</code> is found. <a href="../iter/trait.ParallelIterator.html#method.while_some">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.panic_fuse" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.panic_fuse" class="fnname">panic_fuse</a>(self) -> <a class="struct" href="../iter/struct.PanicFuse.html" title="struct rayon::iter::PanicFuse">PanicFuse</a><Self></h4><a href="#method.panic_fuse" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#1941-1943" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Wraps an iterator with a fuse in case of panics, to halt all threads
as soon as possible. <a href="../iter/trait.ParallelIterator.html#method.panic_fuse">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.collect" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.collect" class="fnname">collect</a><C>(self) -> C <span class="where fmt-newline">where<br> C: <a class="trait" href="../iter/trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>>, </span></h4><a href="#method.collect" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#2042-2047" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Creates a fresh collection containing all the elements produced
by this parallel iterator. <a href="../iter/trait.ParallelIterator.html#method.collect">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.unzip" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.unzip" class="fnname">unzip</a><A, B, FromA, FromB>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.tuple.html">(</a>FromA, FromB<a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../iter/trait.ParallelIterator.html" title="trait rayon::iter::ParallelIterator">ParallelIterator</a><Item = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.tuple.html">(</a>A, B<a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.tuple.html">)</a>>,<br> FromA: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="../iter/trait.ParallelExtend.html" title="trait rayon::iter::ParallelExtend">ParallelExtend</a><A>,<br> FromB: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="../iter/trait.ParallelExtend.html" title="trait rayon::iter::ParallelExtend">ParallelExtend</a><B>,<br> A: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> B: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.unzip" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#2083-2092" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Unzips the items of a parallel iterator into a pair of arbitrary
<code>ParallelExtend</code> containers. <a href="../iter/trait.ParallelIterator.html#method.unzip">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.partition" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.partition" class="fnname">partition</a><A, B, P>(self, predicate: P) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.tuple.html">(</a>A, B<a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="../iter/trait.ParallelExtend.html" title="trait rayon::iter::ParallelExtend">ParallelExtend</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>>,<br> B: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="../iter/trait.ParallelExtend.html" title="trait rayon::iter::ParallelExtend">ParallelExtend</a><Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>>,<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.bool.html">bool</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.partition" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#2113-2120" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Partitions the items of a parallel iterator into a pair of arbitrary
<code>ParallelExtend</code> containers. Items for which the <code>predicate</code> returns
true go into the first container, and the rest go into the second. <a href="../iter/trait.ParallelIterator.html#method.partition">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.partition_map" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.partition_map" class="fnname">partition_map</a><A, B, P, L, R>(self, predicate: P) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.tuple.html">(</a>A, B<a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="../iter/trait.ParallelExtend.html" title="trait rayon::iter::ParallelExtend">ParallelExtend</a><L>,<br> B: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="../iter/trait.ParallelExtend.html" title="trait rayon::iter::ParallelExtend">ParallelExtend</a><R>,<br> P: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="enum" href="../iter/enum.Either.html" title="enum rayon::iter::Either">Either</a><L, R> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> L: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h4><a href="#method.partition_map" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#2165-2174" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Partitions and maps the items of a parallel iterator into a pair of
arbitrary <code>ParallelExtend</code> containers. <code>Either::Left</code> items go into
the first container, and <code>Either::Right</code> items go into the second. <a href="../iter/trait.ParallelIterator.html#method.partition_map">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.intersperse" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.intersperse" class="fnname">intersperse</a>(self, element: Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>) -> <a class="struct" href="../iter/struct.Intersperse.html" title="struct rayon::iter::Intersperse">Intersperse</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </span></h4><a href="#method.intersperse" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#2188-2193" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Intersperses clones of an element between items of this iterator. <a href="../iter/trait.ParallelIterator.html#method.intersperse">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.opt_len" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="../iter/trait.ParallelIterator.html#method.opt_len" class="fnname">opt_len</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.usize.html">usize</a>></h4><a href="#method.opt_len" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#2225-2227" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Internal method used to define the behavior of this parallel
iterator. You should not need to call this directly. <a href="../iter/trait.ParallelIterator.html#method.opt_len">Read more</a></p>
</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><div id="impl-RefUnwindSafe" class="impl has-srclink"><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/1.54.0/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Drain.html" title="struct rayon::string::Drain">Drain</a><'a></h3><a href="#impl-RefUnwindSafe" class="anchor"></a></div><div id="impl-Send" class="impl has-srclink"><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Drain.html" title="struct rayon::string::Drain">Drain</a><'a></h3><a href="#impl-Send" class="anchor"></a></div><div id="impl-Sync" class="impl has-srclink"><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Drain.html" title="struct rayon::string::Drain">Drain</a><'a></h3><a href="#impl-Sync" class="anchor"></a></div><div id="impl-Unpin" class="impl has-srclink"><h3 class="code-header in-band">impl<'a> <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Drain.html" title="struct rayon::string::Drain">Drain</a><'a></h3><a href="#impl-Unpin" class="anchor"></a></div><div id="impl-UnwindSafe" class="impl has-srclink"><h3 class="code-header in-band">impl<'a> !<a class="trait" href="https://doc.rust-lang.org/1.54.0/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Drain.html" title="struct rayon::string::Drain">Drain</a><'a></h3><a href="#impl-UnwindSafe" class="anchor"></a></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-Any" class="impl has-srclink"><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/any.rs.html#131-135" title="goto source code">[src]</a></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.type_id" class="method trait-impl has-srclink"><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.54.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.54.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4><a href="#method.type_id" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/any.rs.html#132" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.54.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-Borrow%3CT%3E" class="impl has-srclink"><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3><a href="#impl-Borrow%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/borrow.rs.html#208-213" title="goto source code">[src]</a></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.borrow" class="method trait-impl has-srclink"><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.54.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&</a>T</h4><a href="#method.borrow" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/borrow.rs.html#210" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.54.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/borrow.rs.html#216-220" title="goto source code">[src]</a></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.borrow_mut" class="method trait-impl has-srclink"><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.54.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&mut </a>T</h4><a href="#method.borrow_mut" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/borrow.rs.html#217" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.54.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-From%3CT%3E" class="impl has-srclink"><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3><a href="#impl-From%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/convert/mod.rs.html#544-548" title="goto source code">[src]</a></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from" class="method trait-impl has-srclink"><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.54.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(t: T) -> T</h4><a href="#method.from" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/convert/mod.rs.html#545" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-Into%3CU%3E" class="impl has-srclink"><h3 class="code-header in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></h3><a href="#impl-Into%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/convert/mod.rs.html#533-540" title="goto source code">[src]</a></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.into" class="method trait-impl has-srclink"><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.54.0/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -> U</h4><a href="#method.into" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/convert/mod.rs.html#537" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-IntoParallelIterator" class="impl has-srclink"><h3 class="code-header in-band">impl<T> <a class="trait" href="../iter/trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="../iter/trait.ParallelIterator.html" title="trait rayon::iter::ParallelIterator">ParallelIterator</a>, </span></h3><a href="#impl-IntoParallelIterator" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#2230-2237" title="goto source code">[src]</a></div></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Iter" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="../iter/trait.IntoParallelIterator.html#associatedtype.Iter" class="type">Iter</a> = T</h4><a href="#associatedtype.Iter" class="anchor"></a></div></summary><div class='docblock'><p>The parallel iterator type that will be created.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="associatedtype.Item-1" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="../iter/trait.IntoParallelIterator.html#associatedtype.Item" class="type">Item</a> = <T as <a class="trait" href="../iter/trait.ParallelIterator.html" title="trait rayon::iter::ParallelIterator">ParallelIterator</a>>::<a class="type" href="../iter/trait.ParallelIterator.html#associatedtype.Item" title="type rayon::iter::ParallelIterator::Item">Item</a></h4><a href="#associatedtype.Item-1" class="anchor"></a></div></summary><div class='docblock'><p>The type of item that the parallel iterator will produce.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.into_par_iter" class="method trait-impl has-srclink"><h4 class="code-header">pub fn <a href="../iter/trait.IntoParallelIterator.html#tymethod.into_par_iter" class="fnname">into_par_iter</a>(Self) -> T</h4><a href="#method.into_par_iter" class="anchor"></a><a class="srclink" href="../../src/rayon/iter/mod.rs.html#2234-2236" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Converts <code>self</code> into a parallel iterator. <a href="../iter/trait.IntoParallelIterator.html#tymethod.into_par_iter">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-Pointable" class="impl has-srclink"><h3 class="code-header in-band">impl<T> <a class="trait" href="../../crossbeam_epoch/atomic/trait.Pointable.html" title="trait crossbeam_epoch::atomic::Pointable">Pointable</a> for T</h3><a href="#impl-Pointable" class="anchor"></a><a class="srclink" href="../../src/crossbeam_epoch/atomic.rs.html#194-214" title="goto source code">[src]</a></div></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><div id="associatedconstant.ALIGN" class="associatedconstant trait-impl has-srclink"><h4 class="code-header">pub const <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#associatedconstant.ALIGN" class="constant"><b>ALIGN</b></a>: <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.usize.html">usize</a></h4><a href="#associatedconstant.ALIGN" class="anchor"></a><a class="srclink" href="../../src/crossbeam_epoch/atomic.rs.html#195" title="goto source code">[src]</a></div></summary><div class='docblock'><p>The alignment of pointer.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="associatedtype.Init" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#associatedtype.Init" class="type">Init</a> = T</h4><a href="#associatedtype.Init" class="anchor"></a></div></summary><div class='docblock'><p>The type for initializers.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.init" class="method trait-impl has-srclink"><h4 class="code-header">pub unsafe fn <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.init" class="fnname">init</a>(init: <T as <a class="trait" href="../../crossbeam_epoch/atomic/trait.Pointable.html" title="trait crossbeam_epoch::atomic::Pointable">Pointable</a>>::<a class="type" href="../../crossbeam_epoch/atomic/trait.Pointable.html#associatedtype.Init" title="type crossbeam_epoch::atomic::Pointable::Init">Init</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.usize.html">usize</a></h4><a href="#method.init" class="anchor"></a><a class="srclink" href="../../src/crossbeam_epoch/atomic.rs.html#199" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Initializes a with the given initializer. <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.init">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.deref" class="method trait-impl has-srclink"><h4 class="code-header">pub unsafe fn <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.deref" class="fnname">deref</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&'a </a>T</h4><a href="#method.deref" class="anchor"></a><a class="srclink" href="../../src/crossbeam_epoch/atomic.rs.html#203" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Dereferences the given pointer. <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.deref">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.deref_mut" class="method trait-impl has-srclink"><h4 class="code-header">pub unsafe fn <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.deref_mut" class="fnname">deref_mut</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&'a mut </a>T</h4><a href="#method.deref_mut" class="anchor"></a><a class="srclink" href="../../src/crossbeam_epoch/atomic.rs.html#207" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Mutably dereferences the given pointer. <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.deref_mut">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.drop-1" class="method trait-impl has-srclink"><h4 class="code-header">pub unsafe fn <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.drop" class="fnname">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.usize.html">usize</a>)</h4><a href="#method.drop-1" class="anchor"></a><a class="srclink" href="../../src/crossbeam_epoch/atomic.rs.html#211" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Drops the object pointed to by the given pointer. <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.drop">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-TryFrom%3CU%3E" class="impl has-srclink"><h3 class="code-header in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></h3><a href="#impl-TryFrom%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/convert/mod.rs.html#581-590" title="goto source code">[src]</a></div></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Error" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4><a href="#associatedtype.Error" class="anchor"></a></div></summary><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.try_from" class="method trait-impl has-srclink"><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fnname">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4><a href="#method.try_from" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/convert/mod.rs.html#587" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-TryInto%3CU%3E" class="impl has-srclink"><h3 class="code-header in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></h3><a href="#impl-TryInto%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/convert/mod.rs.html#567-576" title="goto source code">[src]</a></div></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Error-1" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryInto.html#associatedtype.Error" class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4><a href="#associatedtype.Error-1" class="anchor"></a></div></summary><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.try_into" class="method trait-impl has-srclink"><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fnname">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.54.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/1.54.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4><a href="#method.try_into" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/1.54.0/src/core/convert/mod.rs.html#573" title="goto source code">[src]</a></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="rayon" data-search-index-js="../../search-index.js" data-search-js="../../search.js"></div><script src="../../main.js"></script></body></html>