Files
GopherGate/target/doc/rayon/iter/trait.FromParallelIterator.html
2026-02-26 12:00:21 -05:00

160 lines
69 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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="`FromParallelIterator` implements the creation of a collection from a `ParallelIterator`. By implementing `FromParallelIterator` for a given type, you define how it will be created from an iterator."><title>FromParallelIterator in rayon::iter - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="rayon" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">FromParallelIterator</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../rayon/index.html">rayon</a><span class="version">1.11.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">From<wbr>Parallel<wbr>Iterator</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.from_par_iter" title="from_par_iter">from_par_iter</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-FromParallelIterator%3C()%3E-for-()" title="()">()</a></li><li><a href="#impl-FromParallelIterator%3CEither%3CL,+R%3E%3E-for-(A,+B)" title="(A, B)">(A, B)</a></li><li><a href="#impl-FromParallelIterator%3C(A,+B)%3E-for-(FromA,+FromB)" title="(FromA, FromB)">(FromA, FromB)</a></li><li><a href="#impl-FromParallelIterator%3CT%3E-for-Arc%3C%5BT%5D%3E" title="Arc&#60;[T]&#62;">Arc&#60;[T]&#62;</a></li><li><a href="#impl-FromParallelIterator%3C(K,+V)%3E-for-BTreeMap%3CK,+V%3E" title="BTreeMap&#60;K, V&#62;">BTreeMap&#60;K, V&#62;</a></li><li><a href="#impl-FromParallelIterator%3CV%3E-for-BTreeSet%3CV%3E" title="BTreeSet&#60;V&#62;">BTreeSet&#60;V&#62;</a></li><li><a href="#impl-FromParallelIterator%3CT%3E-for-BinaryHeap%3CT%3E" title="BinaryHeap&#60;T&#62;">BinaryHeap&#60;T&#62;</a></li><li><a href="#impl-FromParallelIterator%3CT%3E-for-Box%3C%5BT%5D%3E" title="Box&#60;[T]&#62;">Box&#60;[T]&#62;</a></li><li><a href="#impl-FromParallelIterator%3C%26char%3E-for-Box%3Cstr%3E" title="Box&#60;str&#62;">Box&#60;str&#62;</a></li><li><a href="#impl-FromParallelIterator%3C%26str%3E-for-Box%3Cstr%3E" title="Box&#60;str&#62;">Box&#60;str&#62;</a></li><li><a href="#impl-FromParallelIterator%3CBox%3Cstr%3E%3E-for-Box%3Cstr%3E" title="Box&#60;str&#62;">Box&#60;str&#62;</a></li><li><a href="#impl-FromParallelIterator%3CCow%3C'a,+str%3E%3E-for-Box%3Cstr%3E" title="Box&#60;str&#62;">Box&#60;str&#62;</a></li><li><a href="#impl-FromParallelIterator%3CString%3E-for-Box%3Cstr%3E" title="Box&#60;str&#62;">Box&#60;str&#62;</a></li><li><a href="#impl-FromParallelIterator%3Cchar%3E-for-Box%3Cstr%3E" title="Box&#60;str&#62;">Box&#60;str&#62;</a></li><li><a href="#impl-FromParallelIterator%3CT%3E-for-Cow%3C'a,+C%3E" title="Cow&#60;&#39;a, C&#62;">Cow&#60;&#39;a, C&#62;</a></li><li><a href="#impl-FromParallelIterator%3C(K,+V)%3E-for-HashMap%3CK,+V,+S%3E" title="HashMap&#60;K, V, S&#62;">HashMap&#60;K, V, S&#62;</a></li><li><a href="#impl-FromParallelIterator%3CV%3E-for-HashSet%3CV,+S%3E" title="HashSet&#60;V, S&#62;">HashSet&#60;V, S&#62;</a></li><li><a href="#impl-FromParallelIterator%3CT%3E-for-LinkedList%3CT%3E" title="LinkedList&#60;T&#62;">LinkedList&#60;T&#62;</a></li><li><a href="#impl-FromParallelIterator%3COption%3CT%3E%3E-for-Option%3CC%3E" title="Option&#60;C&#62;">Option&#60;C&#62;</a></li><li><a href="#impl-FromParallelIterator%3C%26OsStr%3E-for-OsString" title="OsString">OsString</a></li><li><a href="#impl-FromParallelIterator%3CCow%3C'a,+OsStr%3E%3E-for-OsString" title="OsString">OsString</a></li><li><a href="#impl-FromParallelIterator%3COsString%3E-for-OsString" title="OsString">OsString</a></li><li><a href="#impl-FromParallelIterator%3CT%3E-for-Rc%3C%5BT%5D%3E" title="Rc&#60;[T]&#62;">Rc&#60;[T]&#62;</a></li><li><a href="#impl-FromParallelIterator%3CResult%3CT,+E%3E%3E-for-Result%3CC,+E%3E" title="Result&#60;C, E&#62;">Result&#60;C, E&#62;</a></li><li><a href="#impl-FromParallelIterator%3C%26char%3E-for-String" title="String">String</a></li><li><a href="#impl-FromParallelIterator%3C%26str%3E-for-String" title="String">String</a></li><li><a href="#impl-FromParallelIterator%3CBox%3Cstr%3E%3E-for-String" title="String">String</a></li><li><a href="#impl-FromParallelIterator%3CCow%3C'a,+str%3E%3E-for-String" title="String">String</a></li><li><a href="#impl-FromParallelIterator%3CString%3E-for-String" title="String">String</a></li><li><a href="#impl-FromParallelIterator%3Cchar%3E-for-String" title="String">String</a></li><li><a href="#impl-FromParallelIterator%3CT%3E-for-Vec%3CT%3E" title="Vec&#60;T&#62;">Vec&#60;T&#62;</a></li><li><a href="#impl-FromParallelIterator%3CT%3E-for-VecDeque%3CT%3E" title="VecDeque&#60;T&#62;">VecDeque&#60;T&#62;</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In rayon::<wbr>iter</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">rayon</a>::<wbr><a href="index.html">iter</a></div><h1>Trait <span class="trait">From<wbr>Parallel<wbr>Iterator</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/rayon/iter/mod.rs.html#3280-3303">Source</a> </span></div><pre class="rust item-decl"><code>pub trait FromParallelIterator&lt;T&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div>{
// Required method
fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self
<span class="where">where I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = T&gt;</span>;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p><code>FromParallelIterator</code> implements the creation of a collection
from a <a href="trait.ParallelIterator.html" title="trait rayon::iter::ParallelIterator"><code>ParallelIterator</code></a>. By implementing
<code>FromParallelIterator</code> for a given type, you define how it will be
created from an iterator.</p>
<p><code>FromParallelIterator</code> is used through <a href="trait.ParallelIterator.html" title="trait rayon::iter::ParallelIterator"><code>ParallelIterator</code></a>s <a href="trait.ParallelIterator.html#method.collect" title="method rayon::iter::ParallelIterator::collect"><code>collect()</code></a> method.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<p>Implementing <code>FromParallelIterator</code> for your type:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>rayon::prelude::<span class="kw-2">*</span>;
<span class="kw">struct </span>BlackHole {
mass: usize,
}
<span class="kw">impl</span>&lt;T: Send&gt; FromParallelIterator&lt;T&gt; <span class="kw">for </span>BlackHole {
<span class="kw">fn </span>from_par_iter&lt;I&gt;(par_iter: I) -&gt; <span class="self">Self
</span><span class="kw">where </span>I: IntoParallelIterator&lt;Item = T&gt;
{
<span class="kw">let </span>par_iter = par_iter.into_par_iter();
BlackHole {
mass: par_iter.count() * size_of::&lt;T&gt;(),
}
}
}
<span class="kw">let </span>bh: BlackHole = (<span class="number">0i32</span>..<span class="number">1000</span>).into_par_iter().collect();
<span class="macro">assert_eq!</span>(bh.mass, <span class="number">4000</span>);</code></pre></div></div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.from_par_iter" class="method"><a class="src rightside" href="../../src/rayon/iter/mod.rs.html#3300-3302">Source</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = T&gt;,</div></h4></section></summary><div class="docblock"><p>Creates an instance of the collection from the parallel iterator <code>par_iter</code>.</p>
<p>If your collection is not naturally parallel, the easiest (and
fastest) way to do this is often to collect <code>par_iter</code> into a
<a href="https://doc.rust-lang.org/1.93.1/alloc/collections/linked_list/struct.LinkedList.html" title="struct alloc::collections::linked_list::LinkedList"><code>LinkedList</code></a> (via <a href="trait.ParallelIterator.html#method.collect_vec_list" title="method rayon::iter::ParallelIterator::collect_vec_list"><code>collect_vec_list</code></a>) or another intermediate
data structure and then sequentially extend your collection. However,
a more native technique is to use the <a href="trait.ParallelIterator.html#method.fold" title="method rayon::iter::ParallelIterator::fold"><code>par_iter.fold</code></a> or
<a href="trait.ParallelIterator.html#method.fold_with" title="method rayon::iter::ParallelIterator::fold_with"><code>par_iter.fold_with</code></a> methods to create the collection.
Alternatively, if your collection is natively parallel, you
can use <a href="trait.ParallelIterator.html#method.for_each" title="method rayon::iter::ParallelIterator::for_each"><code>par_iter.for_each</code></a> to process each element in turn.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.93.1/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3Cchar%3E-for-Box%3Cstr%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#203">Source</a><a href="#impl-FromParallelIterator%3Cchar%3E-for-Box%3Cstr%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.char.html">char</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;</h3><div class="docblock"><p>Collects characters from a parallel iterator into a boxed string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#203">Source</a><a href="#method.from_par_iter" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.char.html">char</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3Cchar%3E-for-String" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#203">Source</a><a href="#impl-FromParallelIterator%3Cchar%3E-for-String" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.char.html">char</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h3><div class="docblock"><p>Collects characters from a parallel iterator into a string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-1" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#203">Source</a><a href="#method.from_par_iter-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.char.html">char</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3C()%3E-for-()" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#273-280">Source</a><a href="#impl-FromParallelIterator%3C()%3E-for-()" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.unit.html">()</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.unit.html">()</a></h3><div class="docblock"><p>Collapses all unit items from a parallel iterator into one.</p>
</div></section></summary><div class="docblock"><p>This is more useful when combined with higher-level abstractions, like
collecting to a <code>Result&lt;(), E&gt;</code> where you only care about errors:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::io::<span class="kw-2">*</span>;
<span class="kw">use </span>rayon::prelude::<span class="kw-2">*</span>;
<span class="kw">let </span>data = <span class="macro">vec!</span>[<span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>, <span class="number">4</span>, <span class="number">5</span>];
<span class="kw">let </span>res: <span class="prelude-ty">Result</span>&lt;()&gt; = data.par_iter()
.map(|x| <span class="macro">writeln!</span>(stdout(), <span class="string">"{}"</span>, x))
.collect();
<span class="macro">assert!</span>(res.is_ok());</code></pre></div></div><div class="impl-items"><section id="method.from_par_iter-2" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#274-279">Source</a><a href="#method.from_par_iter-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.unit.html">()</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CBox%3Cstr%3E%3E-for-Box%3Cstr%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#207">Source</a><a href="#impl-FromParallelIterator%3CBox%3Cstr%3E%3E-for-Box%3Cstr%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;</h3><div class="docblock"><p>Collects boxed strings from a parallel iterator into a boxed string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-3" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#207">Source</a><a href="#method.from_par_iter-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CBox%3Cstr%3E%3E-for-String" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#207">Source</a><a href="#impl-FromParallelIterator%3CBox%3Cstr%3E%3E-for-String" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h3><div class="docblock"><p>Collects boxed strings from a parallel iterator into a string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-4" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#207">Source</a><a href="#method.from_par_iter-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CString%3E-for-Box%3Cstr%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#208">Source</a><a href="#impl-FromParallelIterator%3CString%3E-for-Box%3Cstr%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;</h3><div class="docblock"><p>Collects strings from a parallel iterator into a boxed string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-5" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#208">Source</a><a href="#method.from_par_iter-5" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CString%3E-for-String" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#208">Source</a><a href="#impl-FromParallelIterator%3CString%3E-for-String" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h3><div class="docblock"><p>Collects strings from a parallel iterator into a string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-6" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#208">Source</a><a href="#method.from_par_iter-6" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3COsString%3E-for-OsString" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#221-228">Source</a><a href="#impl-FromParallelIterator%3COsString%3E-for-OsString" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.93.1/std/ffi/os_str/struct.OsString.html" title="struct std::ffi::os_str::OsString">OsString</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/std/ffi/os_str/struct.OsString.html" title="struct std::ffi::os_str::OsString">OsString</a></h3><div class="docblock"><p>Collects OS-strings from a parallel iterator into one large OS-string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-7" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#222-227">Source</a><a href="#method.from_par_iter-7" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="struct" href="https://doc.rust-lang.org/1.93.1/std/ffi/os_str/struct.OsString.html" title="struct std::ffi::os_str::OsString">OsString</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3C%26char%3E-for-Box%3Cstr%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#204">Source</a><a href="#impl-FromParallelIterator%3C%26char%3E-for-Box%3Cstr%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.char.html">char</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;</h3><div class="docblock"><p>Collects characters from a parallel iterator into a boxed string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-8" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#204">Source</a><a href="#method.from_par_iter-8" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.char.html">char</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3C%26char%3E-for-String" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#204">Source</a><a href="#impl-FromParallelIterator%3C%26char%3E-for-String" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.char.html">char</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h3><div class="docblock"><p>Collects characters from a parallel iterator into a string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-9" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#204">Source</a><a href="#method.from_par_iter-9" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.char.html">char</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3C%26str%3E-for-Box%3Cstr%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#205">Source</a><a href="#impl-FromParallelIterator%3C%26str%3E-for-Box%3Cstr%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;</h3><div class="docblock"><p>Collects string slices from a parallel iterator into a boxed string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-10" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#205">Source</a><a href="#method.from_par_iter-10" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3C%26str%3E-for-String" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#205">Source</a><a href="#impl-FromParallelIterator%3C%26str%3E-for-String" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h3><div class="docblock"><p>Collects string slices from a parallel iterator into a string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-11" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#205">Source</a><a href="#method.from_par_iter-11" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3C%26OsStr%3E-for-OsString" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#211-218">Source</a><a href="#impl-FromParallelIterator%3C%26OsStr%3E-for-OsString" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;&amp;'a <a class="struct" href="https://doc.rust-lang.org/1.93.1/std/ffi/os_str/struct.OsStr.html" title="struct std::ffi::os_str::OsStr">OsStr</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/std/ffi/os_str/struct.OsString.html" title="struct std::ffi::os_str::OsString">OsString</a></h3><div class="docblock"><p>Collects OS-string slices from a parallel iterator into an OS-string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-12" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#212-217">Source</a><a href="#method.from_par_iter-12" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = &amp;'a <a class="struct" href="https://doc.rust-lang.org/1.93.1/std/ffi/os_str/struct.OsStr.html" title="struct std::ffi::os_str::OsStr">OsStr</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CCow%3C'a,+str%3E%3E-for-Box%3Cstr%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#206">Source</a><a href="#impl-FromParallelIterator%3CCow%3C'a,+str%3E%3E-for-Box%3Cstr%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.93.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;</h3><div class="docblock"><p>Collects string slices from a parallel iterator into a boxed string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-13" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#206">Source</a><a href="#method.from_par_iter-13" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="enum" href="https://doc.rust-lang.org/1.93.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CCow%3C'a,+str%3E%3E-for-String" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#206">Source</a><a href="#impl-FromParallelIterator%3CCow%3C'a,+str%3E%3E-for-String" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.93.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h3><div class="docblock"><p>Collects string slices from a parallel iterator into a string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-14" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#206">Source</a><a href="#method.from_par_iter-14" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="enum" href="https://doc.rust-lang.org/1.93.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.str.html">str</a>&gt;&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CCow%3C'a,+OsStr%3E%3E-for-OsString" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#231-238">Source</a><a href="#impl-FromParallelIterator%3CCow%3C'a,+OsStr%3E%3E-for-OsString" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.93.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'a, <a class="struct" href="https://doc.rust-lang.org/1.93.1/std/ffi/os_str/struct.OsStr.html" title="struct std::ffi::os_str::OsStr">OsStr</a>&gt;&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/std/ffi/os_str/struct.OsString.html" title="struct std::ffi::os_str::OsString">OsString</a></h3><div class="docblock"><p>Collects OS-string slices from a parallel iterator into an OS-string.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-15" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#232-237">Source</a><a href="#method.from_par_iter-15" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="enum" href="https://doc.rust-lang.org/1.93.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'a, <a class="struct" href="https://doc.rust-lang.org/1.93.1/std/ffi/os_str/struct.OsStr.html" title="struct std::ffi::os_str::OsStr">OsStr</a>&gt;&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CT%3E-for-Cow%3C'a,+C%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#245-256">Source</a><a href="#impl-FromParallelIterator%3CT%3E-for-Cow%3C'a,+C%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, C, T&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;T&gt; for <a class="enum" href="https://doc.rust-lang.org/1.93.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'a, C&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a>&lt;Owned: <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;T&gt;&gt; + ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collects an arbitrary <code>Cow</code> collection.</p>
</div></section></summary><div class="docblock"><p>Note, the standard library only has <code>FromIterator</code> for <code>Cow&lt;'a, str&gt;</code> and
<code>Cow&lt;'a, [T]&gt;</code>, because no one thought to add a blanket implementation
before it was stabilized.</p>
</div><div class="impl-items"><section id="method.from_par_iter-16" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#250-255">Source</a><a href="#method.from_par_iter-16" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = T&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3C(A,+B)%3E-for-(FromA,+FromB)" class="impl"><a class="src rightside" href="../../src/rayon/iter/unzip.rs.html#465-479">Source</a><a href="#impl-FromParallelIterator%3C(A,+B)%3E-for-(FromA,+FromB)" class="anchor">§</a><h3 class="code-header">impl&lt;A, B, FromA, FromB&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(A, B)</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(FromA, FromB)</a><div class="where">where
A: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
B: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
FromA: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;A&gt;,
FromB: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;B&gt;,</div></h3></section></summary><div class="impl-items"><section id="method.from_par_iter-17" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/unzip.rs.html#472-478">Source</a><a href="#method.from_par_iter-17" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(pi: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(A, B)</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3COption%3CT%3E%3E-for-Option%3CC%3E" class="impl"><a class="src rightside" href="../../src/rayon/option.rs.html#167-197">Source</a><a href="#impl-FromParallelIterator%3COption%3CT%3E%3E-for-Option%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, T&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;T&gt;&gt; for <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;C&gt;<div class="where">where
C: <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;T&gt;,
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collect an arbitrary <code>Option</code>-wrapped collection.</p>
</div></section></summary><div class="docblock"><p>If any item is <code>None</code>, then all previous items collected are discarded,
and it returns only <code>None</code>.</p>
</div><div class="impl-items"><section id="method.from_par_iter-18" class="method trait-impl"><a class="src rightside" href="../../src/rayon/option.rs.html#172-196">Source</a><a href="#method.from_par_iter-18" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;T&gt;&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CResult%3CT,+E%3E%3E-for-Result%3CC,+E%3E" class="impl"><a class="src rightside" href="../../src/rayon/result.rs.html#93-132">Source</a><a href="#impl-FromParallelIterator%3CResult%3CT,+E%3E%3E-for-Result%3CC,+E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, T, E&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, E&gt;&gt; for <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;C, E&gt;<div class="where">where
C: <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;T&gt;,
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
E: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collect an arbitrary <code>Result</code>-wrapped collection.</p>
</div></section></summary><div class="docblock"><p>If any item is <code>Err</code>, then all previous <code>Ok</code> items collected are
discarded, and it returns that error. If there are multiple errors, the
one returned is not deterministic.</p>
</div><div class="impl-items"><section id="method.from_par_iter-19" class="method trait-impl"><a class="src rightside" href="../../src/rayon/result.rs.html#99-131">Source</a><a href="#method.from_par_iter-19" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, E&gt;&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3C(K,+V)%3E-for-BTreeMap%3CK,+V%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#139-150">Source</a><a href="#impl-FromParallelIterator%3C(K,+V)%3E-for-BTreeMap%3CK,+V%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K, V&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(K, V)</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;K, V&gt;<div class="where">where
K: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
V: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collects (key, value) pairs from a parallel iterator into a
btreemap. If multiple pairs correspond to the same key, then the
ones produced earlier in the parallel iterator will be
overwritten, just as with a sequential iterator.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-20" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#144-149">Source</a><a href="#method.from_par_iter-20" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(K, V)</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3C(K,+V)%3E-for-HashMap%3CK,+V,+S%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#121-133">Source</a><a href="#impl-FromParallelIterator%3C(K,+V)%3E-for-HashMap%3CK,+V,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K, V, S&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(K, V)</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;K, V, S&gt;<div class="where">where
K: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
V: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
S: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.BuildHasher.html" title="trait core::hash::BuildHasher">BuildHasher</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/default/trait.Default.html" title="trait core::default::Default">Default</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collects (key, value) pairs from a parallel iterator into a
hashmap. If multiple pairs correspond to the same key, then the
ones produced earlier in the parallel iterator will be
overwritten, just as with a sequential iterator.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-21" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#127-132">Source</a><a href="#method.from_par_iter-21" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(K, V)</a>&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CEither%3CL,+R%3E%3E-for-(A,+B)" class="impl"><a class="src rightside" href="../../src/rayon/iter/unzip.rs.html#481-499">Source</a><a href="#impl-FromParallelIterator%3CEither%3CL,+R%3E%3E-for-(A,+B)" class="anchor">§</a><h3 class="code-header">impl&lt;L, R, A, B&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;<a class="enum" href="enum.Either.html" title="enum rayon::iter::Either">Either</a>&lt;L, R&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(A, B)</a><div class="where">where
L: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
R: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
A: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;L&gt;,
B: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;R&gt;,</div></h3></section></summary><div class="impl-items"><section id="method.from_par_iter-22" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/unzip.rs.html#488-498">Source</a><a href="#method.from_par_iter-22" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(pi: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = <a class="enum" href="enum.Either.html" title="enum rayon::iter::Either">Either</a>&lt;L, R&gt;&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CT%3E-for-Box%3C%5BT%5D%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#38-48">Source</a><a href="#impl-FromParallelIterator%3CT%3E-for-Box%3C%5BT%5D%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;T&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.slice.html">[T]</a>&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collects items from a parallel iterator into a boxed slice.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-23" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#42-47">Source</a><a href="#method.from_par_iter-23" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = T&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CT%3E-for-BinaryHeap%3CT%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#91-101">Source</a><a href="#impl-FromParallelIterator%3CT%3E-for-BinaryHeap%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;T&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/collections/binary_heap/struct.BinaryHeap.html" title="struct alloc::collections::binary_heap::BinaryHeap">BinaryHeap</a>&lt;T&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collects items from a parallel iterator into a binaryheap.
The heap-ordering is calculated serially after all items are collected.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-24" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#95-100">Source</a><a href="#method.from_par_iter-24" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = T&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CT%3E-for-LinkedList%3CT%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#105-115">Source</a><a href="#impl-FromParallelIterator%3CT%3E-for-LinkedList%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;T&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/collections/linked_list/struct.LinkedList.html" title="struct alloc::collections::linked_list::LinkedList">LinkedList</a>&lt;T&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collects items from a parallel iterator into a freshly allocated
linked list.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-25" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#109-114">Source</a><a href="#method.from_par_iter-25" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = T&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CT%3E-for-VecDeque%3CT%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#77-87">Source</a><a href="#impl-FromParallelIterator%3CT%3E-for-VecDeque%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;T&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a>&lt;T&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collects items from a parallel iterator into a vecdeque.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-26" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#81-86">Source</a><a href="#method.from_par_iter-26" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = T&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CT%3E-for-Rc%3C%5BT%5D%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#51-61">Source</a><a href="#impl-FromParallelIterator%3CT%3E-for-Rc%3C%5BT%5D%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;T&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.slice.html">[T]</a>&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collects items from a parallel iterator into a reference-counted slice.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-27" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#55-60">Source</a><a href="#method.from_par_iter-27" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = T&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CT%3E-for-Arc%3C%5BT%5D%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#64-74">Source</a><a href="#impl-FromParallelIterator%3CT%3E-for-Arc%3C%5BT%5D%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;T&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.slice.html">[T]</a>&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collects items from a parallel iterator into an atomically-reference-counted slice.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-28" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#68-73">Source</a><a href="#method.from_par_iter-28" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = T&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CT%3E-for-Vec%3CT%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#25-35">Source</a><a href="#impl-FromParallelIterator%3CT%3E-for-Vec%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;T&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;T&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collects items from a parallel iterator into a vector.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-29" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#29-34">Source</a><a href="#method.from_par_iter-29" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = T&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CV%3E-for-BTreeSet%3CV%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#167-177">Source</a><a href="#impl-FromParallelIterator%3CV%3E-for-BTreeSet%3CV%3E" class="anchor">§</a><h3 class="code-header">impl&lt;V&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;V&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;V&gt;<div class="where">where
V: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>,</div></h3><div class="docblock"><p>Collects values from a parallel iterator into a btreeset.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-30" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#171-176">Source</a><a href="#method.from_par_iter-30" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = V&gt;,</div></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromParallelIterator%3CV%3E-for-HashSet%3CV,+S%3E" class="impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#153-164">Source</a><a href="#impl-FromParallelIterator%3CV%3E-for-HashSet%3CV,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;V, S&gt; <a class="trait" href="trait.FromParallelIterator.html" title="trait rayon::iter::FromParallelIterator">FromParallelIterator</a>&lt;V&gt; for <a class="struct" href="https://doc.rust-lang.org/1.93.1/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;V, S&gt;<div class="where">where
V: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
S: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/hash/trait.BuildHasher.html" title="trait core::hash::BuildHasher">BuildHasher</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/default/trait.Default.html" title="trait core::default::Default">Default</a> + <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3><div class="docblock"><p>Collects values from a parallel iterator into a hashset.</p>
</div></section></summary><div class="impl-items"><section id="method.from_par_iter-31" class="method trait-impl"><a class="src rightside" href="../../src/rayon/iter/from_par_iter.rs.html#158-163">Source</a><a href="#method.from_par_iter-31" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_par_iter" class="fn">from_par_iter</a>&lt;I&gt;(par_iter: I) -&gt; Self<div class="where">where
I: <a class="trait" href="trait.IntoParallelIterator.html" title="trait rayon::iter::IntoParallelIterator">IntoParallelIterator</a>&lt;Item = V&gt;,</div></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/rayon/iter/trait.FromParallelIterator.js" data-ignore-extern-crates="alloc,std,core" async></script></section></div></main></body></html>