Trait rayon::iter::IntoParallelIterator
source · pub trait IntoParallelIterator {
type Iter: ParallelIterator<Item = Self::Item>;
type Item: Send;
// Required method
fn into_par_iter(self) -> Self::Iter;
}
Expand description
IntoParallelIterator
implements the conversion to a ParallelIterator
.
By implementing IntoParallelIterator
for a type, you define how it will
transformed into an iterator. This is a parallel version of the standard
library’s std::iter::IntoIterator
trait.
Required Associated Types§
sourcetype Iter: ParallelIterator<Item = Self::Item>
type Iter: ParallelIterator<Item = Self::Item>
The parallel iterator type that will be created.
Required Methods§
sourcefn into_par_iter(self) -> Self::Iter
fn into_par_iter(self) -> Self::Iter
Converts self
into a parallel iterator.
Examples
use rayon::prelude::*;
println!("counting in parallel:");
(0..100).into_par_iter()
.for_each(|i| println!("{}", i));
This conversion is often implicit for arguments to methods like zip
.
use rayon::prelude::*;
let v: Vec<_> = (0..5).into_par_iter().zip(5..10).collect();
assert_eq!(v, [(0, 5), (1, 6), (2, 7), (3, 8), (4, 9)]);
Implementations on Foreign Types§
source§impl<A, B, C, D, E> IntoParallelIterator for (A, B, C, D, E)where
A: IntoParallelIterator,
A::Iter: IndexedParallelIterator,
B: IntoParallelIterator,
B::Iter: IndexedParallelIterator,
C: IntoParallelIterator,
C::Iter: IndexedParallelIterator,
D: IntoParallelIterator,
D::Iter: IndexedParallelIterator,
E: IntoParallelIterator,
E::Iter: IndexedParallelIterator,
impl<A, B, C, D, E> IntoParallelIterator for (A, B, C, D, E)where A: IntoParallelIterator, A::Iter: IndexedParallelIterator, B: IntoParallelIterator, B::Iter: IndexedParallelIterator, C: IntoParallelIterator, C::Iter: IndexedParallelIterator, D: IntoParallelIterator, D::Iter: IndexedParallelIterator, E: IntoParallelIterator, E::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelIterator>::Item, <B as IntoParallelIterator>::Item, <C as IntoParallelIterator>::Item, <D as IntoParallelIterator>::Item, <E as IntoParallelIterator>::Item)
type Iter = MultiZip<(<A as IntoParallelIterator>::Iter, <B as IntoParallelIterator>::Iter, <C as IntoParallelIterator>::Iter, <D as IntoParallelIterator>::Iter, <E as IntoParallelIterator>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, A> IntoParallelIterator for &'a mut (A,)where
A: IntoParallelRefMutIterator<'a>,
A::Iter: IndexedParallelIterator,
impl<'a, A> IntoParallelIterator for &'a mut (A,)where A: IntoParallelRefMutIterator<'a>, A::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefMutIterator<'a>>::Item,)
type Iter = MultiZip<(<A as IntoParallelRefMutIterator<'a>>::Iter,)>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, T: Send, E> IntoParallelIterator for &'a mut Result<T, E>
impl<'a, T: Send, E> IntoParallelIterator for &'a mut Result<T, E>
source§impl<A, B, C, D, E, F, G, H, I, J, K, L> IntoParallelIterator for (A, B, C, D, E, F, G, H, I, J, K, L)where
A: IntoParallelIterator,
A::Iter: IndexedParallelIterator,
B: IntoParallelIterator,
B::Iter: IndexedParallelIterator,
C: IntoParallelIterator,
C::Iter: IndexedParallelIterator,
D: IntoParallelIterator,
D::Iter: IndexedParallelIterator,
E: IntoParallelIterator,
E::Iter: IndexedParallelIterator,
F: IntoParallelIterator,
F::Iter: IndexedParallelIterator,
G: IntoParallelIterator,
G::Iter: IndexedParallelIterator,
H: IntoParallelIterator,
H::Iter: IndexedParallelIterator,
I: IntoParallelIterator,
I::Iter: IndexedParallelIterator,
J: IntoParallelIterator,
J::Iter: IndexedParallelIterator,
K: IntoParallelIterator,
K::Iter: IndexedParallelIterator,
L: IntoParallelIterator,
L::Iter: IndexedParallelIterator,
impl<A, B, C, D, E, F, G, H, I, J, K, L> IntoParallelIterator for (A, B, C, D, E, F, G, H, I, J, K, L)where A: IntoParallelIterator, A::Iter: IndexedParallelIterator, B: IntoParallelIterator, B::Iter: IndexedParallelIterator, C: IntoParallelIterator, C::Iter: IndexedParallelIterator, D: IntoParallelIterator, D::Iter: IndexedParallelIterator, E: IntoParallelIterator, E::Iter: IndexedParallelIterator, F: IntoParallelIterator, F::Iter: IndexedParallelIterator, G: IntoParallelIterator, G::Iter: IndexedParallelIterator, H: IntoParallelIterator, H::Iter: IndexedParallelIterator, I: IntoParallelIterator, I::Iter: IndexedParallelIterator, J: IntoParallelIterator, J::Iter: IndexedParallelIterator, K: IntoParallelIterator, K::Iter: IndexedParallelIterator, L: IntoParallelIterator, L::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelIterator>::Item, <B as IntoParallelIterator>::Item, <C as IntoParallelIterator>::Item, <D as IntoParallelIterator>::Item, <E as IntoParallelIterator>::Item, <F as IntoParallelIterator>::Item, <G as IntoParallelIterator>::Item, <H as IntoParallelIterator>::Item, <I as IntoParallelIterator>::Item, <J as IntoParallelIterator>::Item, <K as IntoParallelIterator>::Item, <L as IntoParallelIterator>::Item)
type Iter = MultiZip<(<A as IntoParallelIterator>::Iter, <B as IntoParallelIterator>::Iter, <C as IntoParallelIterator>::Iter, <D as IntoParallelIterator>::Iter, <E as IntoParallelIterator>::Iter, <F as IntoParallelIterator>::Iter, <G as IntoParallelIterator>::Iter, <H as IntoParallelIterator>::Iter, <I as IntoParallelIterator>::Iter, <J as IntoParallelIterator>::Iter, <K as IntoParallelIterator>::Iter, <L as IntoParallelIterator>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, T: Hash + Eq + Sync, S: BuildHasher> IntoParallelIterator for &'a HashSet<T, S>
impl<'a, T: Hash + Eq + Sync, S: BuildHasher> IntoParallelIterator for &'a HashSet<T, S>
source§impl<'a, T: Sync> IntoParallelIterator for &'a LinkedList<T>
impl<'a, T: Sync> IntoParallelIterator for &'a LinkedList<T>
type Item = <&'a LinkedList<T> as IntoIterator>::Item
type Iter = Iter<'a, T>
fn into_par_iter(self) -> Self::Iter
source§impl<'data, T: Send + 'data> IntoParallelIterator for &'data mut [T]
impl<'data, T: Send + 'data> IntoParallelIterator for &'data mut [T]
source§impl<T: Send> IntoParallelIterator for LinkedList<T>
impl<T: Send> IntoParallelIterator for LinkedList<T>
type Item = <LinkedList<T> as IntoIterator>::Item
type Iter = IntoIter<T>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, A, B, C, D, E, F, G, H, I> IntoParallelIterator for &'a mut (A, B, C, D, E, F, G, H, I)where
A: IntoParallelRefMutIterator<'a>,
A::Iter: IndexedParallelIterator,
B: IntoParallelRefMutIterator<'a>,
B::Iter: IndexedParallelIterator,
C: IntoParallelRefMutIterator<'a>,
C::Iter: IndexedParallelIterator,
D: IntoParallelRefMutIterator<'a>,
D::Iter: IndexedParallelIterator,
E: IntoParallelRefMutIterator<'a>,
E::Iter: IndexedParallelIterator,
F: IntoParallelRefMutIterator<'a>,
F::Iter: IndexedParallelIterator,
G: IntoParallelRefMutIterator<'a>,
G::Iter: IndexedParallelIterator,
H: IntoParallelRefMutIterator<'a>,
H::Iter: IndexedParallelIterator,
I: IntoParallelRefMutIterator<'a>,
I::Iter: IndexedParallelIterator,
impl<'a, A, B, C, D, E, F, G, H, I> IntoParallelIterator for &'a mut (A, B, C, D, E, F, G, H, I)where A: IntoParallelRefMutIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefMutIterator<'a>, B::Iter: IndexedParallelIterator, C: IntoParallelRefMutIterator<'a>, C::Iter: IndexedParallelIterator, D: IntoParallelRefMutIterator<'a>, D::Iter: IndexedParallelIterator, E: IntoParallelRefMutIterator<'a>, E::Iter: IndexedParallelIterator, F: IntoParallelRefMutIterator<'a>, F::Iter: IndexedParallelIterator, G: IntoParallelRefMutIterator<'a>, G::Iter: IndexedParallelIterator, H: IntoParallelRefMutIterator<'a>, H::Iter: IndexedParallelIterator, I: IntoParallelRefMutIterator<'a>, I::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefMutIterator<'a>>::Item, <B as IntoParallelRefMutIterator<'a>>::Item, <C as IntoParallelRefMutIterator<'a>>::Item, <D as IntoParallelRefMutIterator<'a>>::Item, <E as IntoParallelRefMutIterator<'a>>::Item, <F as IntoParallelRefMutIterator<'a>>::Item, <G as IntoParallelRefMutIterator<'a>>::Item, <H as IntoParallelRefMutIterator<'a>>::Item, <I as IntoParallelRefMutIterator<'a>>::Item)
type Iter = MultiZip<(<A as IntoParallelRefMutIterator<'a>>::Iter, <B as IntoParallelRefMutIterator<'a>>::Iter, <C as IntoParallelRefMutIterator<'a>>::Iter, <D as IntoParallelRefMutIterator<'a>>::Iter, <E as IntoParallelRefMutIterator<'a>>::Iter, <F as IntoParallelRefMutIterator<'a>>::Iter, <G as IntoParallelRefMutIterator<'a>>::Iter, <H as IntoParallelRefMutIterator<'a>>::Iter, <I as IntoParallelRefMutIterator<'a>>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, A, B, C> IntoParallelIterator for &'a (A, B, C)where
A: IntoParallelRefIterator<'a>,
A::Iter: IndexedParallelIterator,
B: IntoParallelRefIterator<'a>,
B::Iter: IndexedParallelIterator,
C: IntoParallelRefIterator<'a>,
C::Iter: IndexedParallelIterator,
impl<'a, A, B, C> IntoParallelIterator for &'a (A, B, C)where A: IntoParallelRefIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefIterator<'a>, B::Iter: IndexedParallelIterator, C: IntoParallelRefIterator<'a>, C::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefIterator<'a>>::Item, <B as IntoParallelRefIterator<'a>>::Item, <C as IntoParallelRefIterator<'a>>::Item)
type Iter = MultiZip<(<A as IntoParallelRefIterator<'a>>::Iter, <B as IntoParallelRefIterator<'a>>::Iter, <C as IntoParallelRefIterator<'a>>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, T: Send> IntoParallelIterator for &'a mut LinkedList<T>
impl<'a, T: Send> IntoParallelIterator for &'a mut LinkedList<T>
type Item = <&'a mut LinkedList<T> as IntoIterator>::Item
type Iter = IterMut<'a, T>
fn into_par_iter(self) -> Self::Iter
source§impl<'data, T: Sync + 'data> IntoParallelIterator for &'data [T]
impl<'data, T: Sync + 'data> IntoParallelIterator for &'data [T]
source§impl<'a, A, B, C> IntoParallelIterator for &'a mut (A, B, C)where
A: IntoParallelRefMutIterator<'a>,
A::Iter: IndexedParallelIterator,
B: IntoParallelRefMutIterator<'a>,
B::Iter: IndexedParallelIterator,
C: IntoParallelRefMutIterator<'a>,
C::Iter: IndexedParallelIterator,
impl<'a, A, B, C> IntoParallelIterator for &'a mut (A, B, C)where A: IntoParallelRefMutIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefMutIterator<'a>, B::Iter: IndexedParallelIterator, C: IntoParallelRefMutIterator<'a>, C::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefMutIterator<'a>>::Item, <B as IntoParallelRefMutIterator<'a>>::Item, <C as IntoParallelRefMutIterator<'a>>::Item)
type Iter = MultiZip<(<A as IntoParallelRefMutIterator<'a>>::Iter, <B as IntoParallelRefMutIterator<'a>>::Iter, <C as IntoParallelRefMutIterator<'a>>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<T: Ord + Send> IntoParallelIterator for BinaryHeap<T>
impl<T: Ord + Send> IntoParallelIterator for BinaryHeap<T>
source§impl<'a, A, B, C, D, E, F, G, H, I, J, K, L> IntoParallelIterator for &'a (A, B, C, D, E, F, G, H, I, J, K, L)where
A: IntoParallelRefIterator<'a>,
A::Iter: IndexedParallelIterator,
B: IntoParallelRefIterator<'a>,
B::Iter: IndexedParallelIterator,
C: IntoParallelRefIterator<'a>,
C::Iter: IndexedParallelIterator,
D: IntoParallelRefIterator<'a>,
D::Iter: IndexedParallelIterator,
E: IntoParallelRefIterator<'a>,
E::Iter: IndexedParallelIterator,
F: IntoParallelRefIterator<'a>,
F::Iter: IndexedParallelIterator,
G: IntoParallelRefIterator<'a>,
G::Iter: IndexedParallelIterator,
H: IntoParallelRefIterator<'a>,
H::Iter: IndexedParallelIterator,
I: IntoParallelRefIterator<'a>,
I::Iter: IndexedParallelIterator,
J: IntoParallelRefIterator<'a>,
J::Iter: IndexedParallelIterator,
K: IntoParallelRefIterator<'a>,
K::Iter: IndexedParallelIterator,
L: IntoParallelRefIterator<'a>,
L::Iter: IndexedParallelIterator,
impl<'a, A, B, C, D, E, F, G, H, I, J, K, L> IntoParallelIterator for &'a (A, B, C, D, E, F, G, H, I, J, K, L)where A: IntoParallelRefIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefIterator<'a>, B::Iter: IndexedParallelIterator, C: IntoParallelRefIterator<'a>, C::Iter: IndexedParallelIterator, D: IntoParallelRefIterator<'a>, D::Iter: IndexedParallelIterator, E: IntoParallelRefIterator<'a>, E::Iter: IndexedParallelIterator, F: IntoParallelRefIterator<'a>, F::Iter: IndexedParallelIterator, G: IntoParallelRefIterator<'a>, G::Iter: IndexedParallelIterator, H: IntoParallelRefIterator<'a>, H::Iter: IndexedParallelIterator, I: IntoParallelRefIterator<'a>, I::Iter: IndexedParallelIterator, J: IntoParallelRefIterator<'a>, J::Iter: IndexedParallelIterator, K: IntoParallelRefIterator<'a>, K::Iter: IndexedParallelIterator, L: IntoParallelRefIterator<'a>, L::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefIterator<'a>>::Item, <B as IntoParallelRefIterator<'a>>::Item, <C as IntoParallelRefIterator<'a>>::Item, <D as IntoParallelRefIterator<'a>>::Item, <E as IntoParallelRefIterator<'a>>::Item, <F as IntoParallelRefIterator<'a>>::Item, <G as IntoParallelRefIterator<'a>>::Item, <H as IntoParallelRefIterator<'a>>::Item, <I as IntoParallelRefIterator<'a>>::Item, <J as IntoParallelRefIterator<'a>>::Item, <K as IntoParallelRefIterator<'a>>::Item, <L as IntoParallelRefIterator<'a>>::Item)
type Iter = MultiZip<(<A as IntoParallelRefIterator<'a>>::Iter, <B as IntoParallelRefIterator<'a>>::Iter, <C as IntoParallelRefIterator<'a>>::Iter, <D as IntoParallelRefIterator<'a>>::Iter, <E as IntoParallelRefIterator<'a>>::Iter, <F as IntoParallelRefIterator<'a>>::Iter, <G as IntoParallelRefIterator<'a>>::Iter, <H as IntoParallelRefIterator<'a>>::Iter, <I as IntoParallelRefIterator<'a>>::Iter, <J as IntoParallelRefIterator<'a>>::Iter, <K as IntoParallelRefIterator<'a>>::Iter, <L as IntoParallelRefIterator<'a>>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<'data, T: Sync + 'data> IntoParallelIterator for &'data Vec<T>
impl<'data, T: Sync + 'data> IntoParallelIterator for &'data Vec<T>
source§impl<'a, A, B, C, D, E, F, G, H, I, J, K> IntoParallelIterator for &'a (A, B, C, D, E, F, G, H, I, J, K)where
A: IntoParallelRefIterator<'a>,
A::Iter: IndexedParallelIterator,
B: IntoParallelRefIterator<'a>,
B::Iter: IndexedParallelIterator,
C: IntoParallelRefIterator<'a>,
C::Iter: IndexedParallelIterator,
D: IntoParallelRefIterator<'a>,
D::Iter: IndexedParallelIterator,
E: IntoParallelRefIterator<'a>,
E::Iter: IndexedParallelIterator,
F: IntoParallelRefIterator<'a>,
F::Iter: IndexedParallelIterator,
G: IntoParallelRefIterator<'a>,
G::Iter: IndexedParallelIterator,
H: IntoParallelRefIterator<'a>,
H::Iter: IndexedParallelIterator,
I: IntoParallelRefIterator<'a>,
I::Iter: IndexedParallelIterator,
J: IntoParallelRefIterator<'a>,
J::Iter: IndexedParallelIterator,
K: IntoParallelRefIterator<'a>,
K::Iter: IndexedParallelIterator,
impl<'a, A, B, C, D, E, F, G, H, I, J, K> IntoParallelIterator for &'a (A, B, C, D, E, F, G, H, I, J, K)where A: IntoParallelRefIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefIterator<'a>, B::Iter: IndexedParallelIterator, C: IntoParallelRefIterator<'a>, C::Iter: IndexedParallelIterator, D: IntoParallelRefIterator<'a>, D::Iter: IndexedParallelIterator, E: IntoParallelRefIterator<'a>, E::Iter: IndexedParallelIterator, F: IntoParallelRefIterator<'a>, F::Iter: IndexedParallelIterator, G: IntoParallelRefIterator<'a>, G::Iter: IndexedParallelIterator, H: IntoParallelRefIterator<'a>, H::Iter: IndexedParallelIterator, I: IntoParallelRefIterator<'a>, I::Iter: IndexedParallelIterator, J: IntoParallelRefIterator<'a>, J::Iter: IndexedParallelIterator, K: IntoParallelRefIterator<'a>, K::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefIterator<'a>>::Item, <B as IntoParallelRefIterator<'a>>::Item, <C as IntoParallelRefIterator<'a>>::Item, <D as IntoParallelRefIterator<'a>>::Item, <E as IntoParallelRefIterator<'a>>::Item, <F as IntoParallelRefIterator<'a>>::Item, <G as IntoParallelRefIterator<'a>>::Item, <H as IntoParallelRefIterator<'a>>::Item, <I as IntoParallelRefIterator<'a>>::Item, <J as IntoParallelRefIterator<'a>>::Item, <K as IntoParallelRefIterator<'a>>::Item)
type Iter = MultiZip<(<A as IntoParallelRefIterator<'a>>::Iter, <B as IntoParallelRefIterator<'a>>::Iter, <C as IntoParallelRefIterator<'a>>::Iter, <D as IntoParallelRefIterator<'a>>::Iter, <E as IntoParallelRefIterator<'a>>::Iter, <F as IntoParallelRefIterator<'a>>::Iter, <G as IntoParallelRefIterator<'a>>::Iter, <H as IntoParallelRefIterator<'a>>::Iter, <I as IntoParallelRefIterator<'a>>::Iter, <J as IntoParallelRefIterator<'a>>::Iter, <K as IntoParallelRefIterator<'a>>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, K: Hash + Eq + Sync, V: Sync, S: BuildHasher> IntoParallelIterator for &'a HashMap<K, V, S>
impl<'a, K: Hash + Eq + Sync, V: Sync, S: BuildHasher> IntoParallelIterator for &'a HashMap<K, V, S>
source§impl<'a, A, B, C, D, E, F, G, H> IntoParallelIterator for &'a mut (A, B, C, D, E, F, G, H)where
A: IntoParallelRefMutIterator<'a>,
A::Iter: IndexedParallelIterator,
B: IntoParallelRefMutIterator<'a>,
B::Iter: IndexedParallelIterator,
C: IntoParallelRefMutIterator<'a>,
C::Iter: IndexedParallelIterator,
D: IntoParallelRefMutIterator<'a>,
D::Iter: IndexedParallelIterator,
E: IntoParallelRefMutIterator<'a>,
E::Iter: IndexedParallelIterator,
F: IntoParallelRefMutIterator<'a>,
F::Iter: IndexedParallelIterator,
G: IntoParallelRefMutIterator<'a>,
G::Iter: IndexedParallelIterator,
H: IntoParallelRefMutIterator<'a>,
H::Iter: IndexedParallelIterator,
impl<'a, A, B, C, D, E, F, G, H> IntoParallelIterator for &'a mut (A, B, C, D, E, F, G, H)where A: IntoParallelRefMutIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefMutIterator<'a>, B::Iter: IndexedParallelIterator, C: IntoParallelRefMutIterator<'a>, C::Iter: IndexedParallelIterator, D: IntoParallelRefMutIterator<'a>, D::Iter: IndexedParallelIterator, E: IntoParallelRefMutIterator<'a>, E::Iter: IndexedParallelIterator, F: IntoParallelRefMutIterator<'a>, F::Iter: IndexedParallelIterator, G: IntoParallelRefMutIterator<'a>, G::Iter: IndexedParallelIterator, H: IntoParallelRefMutIterator<'a>, H::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefMutIterator<'a>>::Item, <B as IntoParallelRefMutIterator<'a>>::Item, <C as IntoParallelRefMutIterator<'a>>::Item, <D as IntoParallelRefMutIterator<'a>>::Item, <E as IntoParallelRefMutIterator<'a>>::Item, <F as IntoParallelRefMutIterator<'a>>::Item, <G as IntoParallelRefMutIterator<'a>>::Item, <H as IntoParallelRefMutIterator<'a>>::Item)
type Iter = MultiZip<(<A as IntoParallelRefMutIterator<'a>>::Iter, <B as IntoParallelRefMutIterator<'a>>::Iter, <C as IntoParallelRefMutIterator<'a>>::Iter, <D as IntoParallelRefMutIterator<'a>>::Iter, <E as IntoParallelRefMutIterator<'a>>::Iter, <F as IntoParallelRefMutIterator<'a>>::Iter, <G as IntoParallelRefMutIterator<'a>>::Iter, <H as IntoParallelRefMutIterator<'a>>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<T: Send, E> IntoParallelIterator for Result<T, E>
impl<T: Send, E> IntoParallelIterator for Result<T, E>
source§impl<'a, A, B, C, D> IntoParallelIterator for &'a (A, B, C, D)where
A: IntoParallelRefIterator<'a>,
A::Iter: IndexedParallelIterator,
B: IntoParallelRefIterator<'a>,
B::Iter: IndexedParallelIterator,
C: IntoParallelRefIterator<'a>,
C::Iter: IndexedParallelIterator,
D: IntoParallelRefIterator<'a>,
D::Iter: IndexedParallelIterator,
impl<'a, A, B, C, D> IntoParallelIterator for &'a (A, B, C, D)where A: IntoParallelRefIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefIterator<'a>, B::Iter: IndexedParallelIterator, C: IntoParallelRefIterator<'a>, C::Iter: IndexedParallelIterator, D: IntoParallelRefIterator<'a>, D::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefIterator<'a>>::Item, <B as IntoParallelRefIterator<'a>>::Item, <C as IntoParallelRefIterator<'a>>::Item, <D as IntoParallelRefIterator<'a>>::Item)
type Iter = MultiZip<(<A as IntoParallelRefIterator<'a>>::Iter, <B as IntoParallelRefIterator<'a>>::Iter, <C as IntoParallelRefIterator<'a>>::Iter, <D as IntoParallelRefIterator<'a>>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, A> IntoParallelIterator for &'a (A,)where
A: IntoParallelRefIterator<'a>,
A::Iter: IndexedParallelIterator,
impl<'a, A> IntoParallelIterator for &'a (A,)where A: IntoParallelRefIterator<'a>, A::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefIterator<'a>>::Item,)
type Iter = MultiZip<(<A as IntoParallelRefIterator<'a>>::Iter,)>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, A, B, C, D, E, F, G> IntoParallelIterator for &'a (A, B, C, D, E, F, G)where
A: IntoParallelRefIterator<'a>,
A::Iter: IndexedParallelIterator,
B: IntoParallelRefIterator<'a>,
B::Iter: IndexedParallelIterator,
C: IntoParallelRefIterator<'a>,
C::Iter: IndexedParallelIterator,
D: IntoParallelRefIterator<'a>,
D::Iter: IndexedParallelIterator,
E: IntoParallelRefIterator<'a>,
E::Iter: IndexedParallelIterator,
F: IntoParallelRefIterator<'a>,
F::Iter: IndexedParallelIterator,
G: IntoParallelRefIterator<'a>,
G::Iter: IndexedParallelIterator,
impl<'a, A, B, C, D, E, F, G> IntoParallelIterator for &'a (A, B, C, D, E, F, G)where A: IntoParallelRefIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefIterator<'a>, B::Iter: IndexedParallelIterator, C: IntoParallelRefIterator<'a>, C::Iter: IndexedParallelIterator, D: IntoParallelRefIterator<'a>, D::Iter: IndexedParallelIterator, E: IntoParallelRefIterator<'a>, E::Iter: IndexedParallelIterator, F: IntoParallelRefIterator<'a>, F::Iter: IndexedParallelIterator, G: IntoParallelRefIterator<'a>, G::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefIterator<'a>>::Item, <B as IntoParallelRefIterator<'a>>::Item, <C as IntoParallelRefIterator<'a>>::Item, <D as IntoParallelRefIterator<'a>>::Item, <E as IntoParallelRefIterator<'a>>::Item, <F as IntoParallelRefIterator<'a>>::Item, <G as IntoParallelRefIterator<'a>>::Item)
type Iter = MultiZip<(<A as IntoParallelRefIterator<'a>>::Iter, <B as IntoParallelRefIterator<'a>>::Iter, <C as IntoParallelRefIterator<'a>>::Iter, <D as IntoParallelRefIterator<'a>>::Iter, <E as IntoParallelRefIterator<'a>>::Iter, <F as IntoParallelRefIterator<'a>>::Iter, <G as IntoParallelRefIterator<'a>>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, A, B, C, D, E, F, G, H, I, J, K, L> IntoParallelIterator for &'a mut (A, B, C, D, E, F, G, H, I, J, K, L)where
A: IntoParallelRefMutIterator<'a>,
A::Iter: IndexedParallelIterator,
B: IntoParallelRefMutIterator<'a>,
B::Iter: IndexedParallelIterator,
C: IntoParallelRefMutIterator<'a>,
C::Iter: IndexedParallelIterator,
D: IntoParallelRefMutIterator<'a>,
D::Iter: IndexedParallelIterator,
E: IntoParallelRefMutIterator<'a>,
E::Iter: IndexedParallelIterator,
F: IntoParallelRefMutIterator<'a>,
F::Iter: IndexedParallelIterator,
G: IntoParallelRefMutIterator<'a>,
G::Iter: IndexedParallelIterator,
H: IntoParallelRefMutIterator<'a>,
H::Iter: IndexedParallelIterator,
I: IntoParallelRefMutIterator<'a>,
I::Iter: IndexedParallelIterator,
J: IntoParallelRefMutIterator<'a>,
J::Iter: IndexedParallelIterator,
K: IntoParallelRefMutIterator<'a>,
K::Iter: IndexedParallelIterator,
L: IntoParallelRefMutIterator<'a>,
L::Iter: IndexedParallelIterator,
impl<'a, A, B, C, D, E, F, G, H, I, J, K, L> IntoParallelIterator for &'a mut (A, B, C, D, E, F, G, H, I, J, K, L)where A: IntoParallelRefMutIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefMutIterator<'a>, B::Iter: IndexedParallelIterator, C: IntoParallelRefMutIterator<'a>, C::Iter: IndexedParallelIterator, D: IntoParallelRefMutIterator<'a>, D::Iter: IndexedParallelIterator, E: IntoParallelRefMutIterator<'a>, E::Iter: IndexedParallelIterator, F: IntoParallelRefMutIterator<'a>, F::Iter: IndexedParallelIterator, G: IntoParallelRefMutIterator<'a>, G::Iter: IndexedParallelIterator, H: IntoParallelRefMutIterator<'a>, H::Iter: IndexedParallelIterator, I: IntoParallelRefMutIterator<'a>, I::Iter: IndexedParallelIterator, J: IntoParallelRefMutIterator<'a>, J::Iter: IndexedParallelIterator, K: IntoParallelRefMutIterator<'a>, K::Iter: IndexedParallelIterator, L: IntoParallelRefMutIterator<'a>, L::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefMutIterator<'a>>::Item, <B as IntoParallelRefMutIterator<'a>>::Item, <C as IntoParallelRefMutIterator<'a>>::Item, <D as IntoParallelRefMutIterator<'a>>::Item, <E as IntoParallelRefMutIterator<'a>>::Item, <F as IntoParallelRefMutIterator<'a>>::Item, <G as IntoParallelRefMutIterator<'a>>::Item, <H as IntoParallelRefMutIterator<'a>>::Item, <I as IntoParallelRefMutIterator<'a>>::Item, <J as IntoParallelRefMutIterator<'a>>::Item, <K as IntoParallelRefMutIterator<'a>>::Item, <L as IntoParallelRefMutIterator<'a>>::Item)
type Iter = MultiZip<(<A as IntoParallelRefMutIterator<'a>>::Iter, <B as IntoParallelRefMutIterator<'a>>::Iter, <C as IntoParallelRefMutIterator<'a>>::Iter, <D as IntoParallelRefMutIterator<'a>>::Iter, <E as IntoParallelRefMutIterator<'a>>::Iter, <F as IntoParallelRefMutIterator<'a>>::Iter, <G as IntoParallelRefMutIterator<'a>>::Iter, <H as IntoParallelRefMutIterator<'a>>::Iter, <I as IntoParallelRefMutIterator<'a>>::Iter, <J as IntoParallelRefMutIterator<'a>>::Iter, <K as IntoParallelRefMutIterator<'a>>::Iter, <L as IntoParallelRefMutIterator<'a>>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, A, B> IntoParallelIterator for &'a mut (A, B)where
A: IntoParallelRefMutIterator<'a>,
A::Iter: IndexedParallelIterator,
B: IntoParallelRefMutIterator<'a>,
B::Iter: IndexedParallelIterator,
impl<'a, A, B> IntoParallelIterator for &'a mut (A, B)where A: IntoParallelRefMutIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefMutIterator<'a>, B::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefMutIterator<'a>>::Item, <B as IntoParallelRefMutIterator<'a>>::Item)
type Iter = MultiZip<(<A as IntoParallelRefMutIterator<'a>>::Iter, <B as IntoParallelRefMutIterator<'a>>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<A, B> IntoParallelIterator for (A, B)where
A: IntoParallelIterator,
A::Iter: IndexedParallelIterator,
B: IntoParallelIterator,
B::Iter: IndexedParallelIterator,
impl<A, B> IntoParallelIterator for (A, B)where A: IntoParallelIterator, A::Iter: IndexedParallelIterator, B: IntoParallelIterator, B::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelIterator>::Item, <B as IntoParallelIterator>::Item)
type Iter = MultiZip<(<A as IntoParallelIterator>::Iter, <B as IntoParallelIterator>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, T: Sync> IntoParallelIterator for &'a VecDeque<T>
impl<'a, T: Sync> IntoParallelIterator for &'a VecDeque<T>
source§impl<'a, A, B, C, D, E, F, G, H, I> IntoParallelIterator for &'a (A, B, C, D, E, F, G, H, I)where
A: IntoParallelRefIterator<'a>,
A::Iter: IndexedParallelIterator,
B: IntoParallelRefIterator<'a>,
B::Iter: IndexedParallelIterator,
C: IntoParallelRefIterator<'a>,
C::Iter: IndexedParallelIterator,
D: IntoParallelRefIterator<'a>,
D::Iter: IndexedParallelIterator,
E: IntoParallelRefIterator<'a>,
E::Iter: IndexedParallelIterator,
F: IntoParallelRefIterator<'a>,
F::Iter: IndexedParallelIterator,
G: IntoParallelRefIterator<'a>,
G::Iter: IndexedParallelIterator,
H: IntoParallelRefIterator<'a>,
H::Iter: IndexedParallelIterator,
I: IntoParallelRefIterator<'a>,
I::Iter: IndexedParallelIterator,
impl<'a, A, B, C, D, E, F, G, H, I> IntoParallelIterator for &'a (A, B, C, D, E, F, G, H, I)where A: IntoParallelRefIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefIterator<'a>, B::Iter: IndexedParallelIterator, C: IntoParallelRefIterator<'a>, C::Iter: IndexedParallelIterator, D: IntoParallelRefIterator<'a>, D::Iter: IndexedParallelIterator, E: IntoParallelRefIterator<'a>, E::Iter: IndexedParallelIterator, F: IntoParallelRefIterator<'a>, F::Iter: IndexedParallelIterator, G: IntoParallelRefIterator<'a>, G::Iter: IndexedParallelIterator, H: IntoParallelRefIterator<'a>, H::Iter: IndexedParallelIterator, I: IntoParallelRefIterator<'a>, I::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefIterator<'a>>::Item, <B as IntoParallelRefIterator<'a>>::Item, <C as IntoParallelRefIterator<'a>>::Item, <D as IntoParallelRefIterator<'a>>::Item, <E as IntoParallelRefIterator<'a>>::Item, <F as IntoParallelRefIterator<'a>>::Item, <G as IntoParallelRefIterator<'a>>::Item, <H as IntoParallelRefIterator<'a>>::Item, <I as IntoParallelRefIterator<'a>>::Item)
type Iter = MultiZip<(<A as IntoParallelRefIterator<'a>>::Iter, <B as IntoParallelRefIterator<'a>>::Iter, <C as IntoParallelRefIterator<'a>>::Iter, <D as IntoParallelRefIterator<'a>>::Iter, <E as IntoParallelRefIterator<'a>>::Iter, <F as IntoParallelRefIterator<'a>>::Iter, <G as IntoParallelRefIterator<'a>>::Iter, <H as IntoParallelRefIterator<'a>>::Iter, <I as IntoParallelRefIterator<'a>>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<'a, T: Sync, E> IntoParallelIterator for &'a Result<T, E>
impl<'a, T: Sync, E> IntoParallelIterator for &'a Result<T, E>
source§impl<'a, A, B, C, D, E, F, G, H> IntoParallelIterator for &'a (A, B, C, D, E, F, G, H)where
A: IntoParallelRefIterator<'a>,
A::Iter: IndexedParallelIterator,
B: IntoParallelRefIterator<'a>,
B::Iter: IndexedParallelIterator,
C: IntoParallelRefIterator<'a>,
C::Iter: IndexedParallelIterator,
D: IntoParallelRefIterator<'a>,
D::Iter: IndexedParallelIterator,
E: IntoParallelRefIterator<'a>,
E::Iter: IndexedParallelIterator,
F: IntoParallelRefIterator<'a>,
F::Iter: IndexedParallelIterator,
G: IntoParallelRefIterator<'a>,
G::Iter: IndexedParallelIterator,
H: IntoParallelRefIterator<'a>,
H::Iter: IndexedParallelIterator,
impl<'a, A, B, C, D, E, F, G, H> IntoParallelIterator for &'a (A, B, C, D, E, F, G, H)where A: IntoParallelRefIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefIterator<'a>, B::Iter: IndexedParallelIterator, C: IntoParallelRefIterator<'a>, C::Iter: IndexedParallelIterator, D: IntoParallelRefIterator<'a>, D::Iter: IndexedParallelIterator, E: IntoParallelRefIterator<'a>, E::Iter: IndexedParallelIterator, F: IntoParallelRefIterator<'a>, F::Iter: IndexedParallelIterator, G: IntoParallelRefIterator<'a>, G::Iter: IndexedParallelIterator, H: IntoParallelRefIterator<'a>, H::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelRefIterator<'a>>::Item, <B as IntoParallelRefIterator<'a>>::Item, <C as IntoParallelRefIterator<'a>>::Item, <D as IntoParallelRefIterator<'a>>::Item, <E as IntoParallelRefIterator<'a>>::Item, <F as IntoParallelRefIterator<'a>>::Item, <G as IntoParallelRefIterator<'a>>::Item, <H as IntoParallelRefIterator<'a>>::Item)
type Iter = MultiZip<(<A as IntoParallelRefIterator<'a>>::Iter, <B as IntoParallelRefIterator<'a>>::Iter, <C as IntoParallelRefIterator<'a>>::Iter, <D as IntoParallelRefIterator<'a>>::Iter, <E as IntoParallelRefIterator<'a>>::Iter, <F as IntoParallelRefIterator<'a>>::Iter, <G as IntoParallelRefIterator<'a>>::Iter, <H as IntoParallelRefIterator<'a>>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<A, B, C> IntoParallelIterator for (A, B, C)where
A: IntoParallelIterator,
A::Iter: IndexedParallelIterator,
B: IntoParallelIterator,
B::Iter: IndexedParallelIterator,
C: IntoParallelIterator,
C::Iter: IndexedParallelIterator,
impl<A, B, C> IntoParallelIterator for (A, B, C)where A: IntoParallelIterator, A::Iter: IndexedParallelIterator, B: IntoParallelIterator, B::Iter: IndexedParallelIterator, C: IntoParallelIterator, C::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelIterator>::Item, <B as IntoParallelIterator>::Item, <C as IntoParallelIterator>::Item)
type Iter = MultiZip<(<A as IntoParallelIterator>::Iter, <B as IntoParallelIterator>::Iter, <C as IntoParallelIterator>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<T> IntoParallelIterator for Range<T>where
Iter<T>: ParallelIterator,
impl<T> IntoParallelIterator for Range<T>where Iter<T>: ParallelIterator,
Implemented for ranges of all primitive integer types and char
.
source§impl<T: Send> IntoParallelIterator for Option<T>
impl<T: Send> IntoParallelIterator for Option<T>
source§impl<A, B, C, D, E, F> IntoParallelIterator for (A, B, C, D, E, F)where
A: IntoParallelIterator,
A::Iter: IndexedParallelIterator,
B: IntoParallelIterator,
B::Iter: IndexedParallelIterator,
C: IntoParallelIterator,
C::Iter: IndexedParallelIterator,
D: IntoParallelIterator,
D::Iter: IndexedParallelIterator,
E: IntoParallelIterator,
E::Iter: IndexedParallelIterator,
F: IntoParallelIterator,
F::Iter: IndexedParallelIterator,
impl<A, B, C, D, E, F> IntoParallelIterator for (A, B, C, D, E, F)where A: IntoParallelIterator, A::Iter: IndexedParallelIterator, B: IntoParallelIterator, B::Iter: IndexedParallelIterator, C: IntoParallelIterator, C::Iter: IndexedParallelIterator, D: IntoParallelIterator, D::Iter: IndexedParallelIterator, E: IntoParallelIterator, E::Iter: IndexedParallelIterator, F: IntoParallelIterator, F::Iter: IndexedParallelIterator,
type Item = (<A as IntoParallelIterator>::Item, <B as IntoParallelIterator>::Item, <C as IntoParallelIterator>::Item, <D as IntoParallelIterator>::Item, <E as IntoParallelIterator>::Item, <F as IntoParallelIterator>::Item)
type Iter = MultiZip<(<A as IntoParallelIterator>::Iter, <B as IntoParallelIterator>::Iter, <C as IntoParallelIterator>::Iter, <D as IntoParallelIterator>::Iter, <E as IntoParallelIterator>::Iter, <F as IntoParallelIterator>::Iter)>
fn into_par_iter(self) -> Self::Iter
source§impl<T> IntoParallelIterator for RangeInclusive<T>where
Iter<T>: ParallelIterator,
impl<T> IntoParallelIterator for RangeInclusive<T>where Iter<T>: ParallelIterator,
Implemented for ranges of all primitive integer types and char
.