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§

source

type Iter: ParallelIterator<Item = Self::Item>

The parallel iterator type that will be created.

source

type Item: Send

The type of item that the parallel iterator will produce.

Required Methods§

source

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<T: Send> IntoParallelIterator for Option<T>

§

type Item = T

§

type Iter = IntoIter<T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'data, T: Sync + 'data, const N: usize> IntoParallelIterator for &'data [T; N]

§

type Item = &'data T

§

type Iter = Iter<'data, T>

source§

fn into_par_iter(self) -> Self::Iter

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,

source§

impl<A, B, C, D, E, F, G, H> IntoParallelIterator for (A, B, C, D, E, F, G, H)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,

source§

impl<T: Send> IntoParallelIterator for Vec<T>

§

type Item = T

§

type Iter = IntoIter<T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'a, A, B, C, D> IntoParallelIterator for &'a mut (A, B, C, D)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,

source§

impl<'a, A, B, C, D, E, F, G, H, I, J> IntoParallelIterator for &'a (A, B, C, D, E, F, G, H, I, J)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,

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,

source§

impl<'data, T: Send + 'data> IntoParallelIterator for &'data mut [T]

§

type Item = &'data mut T

§

type Iter = IterMut<'data, T>

source§

fn into_par_iter(self) -> Self::Iter

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,

source§

impl<'a, A, B> IntoParallelIterator for &'a (A, B)where A: IntoParallelRefIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefIterator<'a>, B::Iter: IndexedParallelIterator,

source§

impl<'a, A, B, C, D, E, F, G, H, I, J, K> IntoParallelIterator for &'a mut (A, B, C, D, E, F, G, H, I, J, K)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,

source§

impl<'data, T: Sync + 'data> IntoParallelIterator for &'data Vec<T>

§

type Item = &'data T

§

type Iter = Iter<'data, T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<A, B, C, D, E, F, G> IntoParallelIterator for (A, B, C, D, E, F, G)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,

source§

impl<'a, K: Ord + Sync, V: Send> IntoParallelIterator for &'a mut BTreeMap<K, V>

§

type Item = <&'a mut BTreeMap<K, V, Global> as IntoIterator>::Item

§

type Iter = IterMut<'a, K, V>

source§

fn into_par_iter(self) -> Self::Iter

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,

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,

source§

impl<'a, T: Sync> IntoParallelIterator for &'a VecDeque<T>

§

type Item = &'a T

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(self) -> Self::Iter

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,

source§

impl<'a, T: Send> IntoParallelIterator for &'a mut Option<T>

§

type Item = &'a mut T

§

type Iter = IterMut<'a, T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'a, A, B, C, D, E> IntoParallelIterator for &'a (A, B, C, D, E)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,

source§

impl<'a, A, B, C, D, E, F> IntoParallelIterator for &'a mut (A, B, C, D, E, F)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,

source§

impl<A, B, C, D> IntoParallelIterator for (A, B, C, D)where A: IntoParallelIterator, A::Iter: IndexedParallelIterator, B: IntoParallelIterator, B::Iter: IndexedParallelIterator, C: IntoParallelIterator, C::Iter: IndexedParallelIterator, D: IntoParallelIterator, D::Iter: IndexedParallelIterator,

source§

impl<T> IntoParallelIterator for Range<T>where Iter<T>: ParallelIterator,

Implemented for ranges of all primitive integer types and char.

§

type Item = <Iter<T> as ParallelIterator>::Item

§

type Iter = Iter<T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'a, A, B, C, D, E, F, G, H, I, J> IntoParallelIterator for &'a mut (A, B, C, D, E, F, G, H, I, J)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,

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,

source§

impl<'a, K: Hash + Eq + Sync, V: Send, S: BuildHasher> IntoParallelIterator for &'a mut HashMap<K, V, S>

§

type Item = <&'a mut HashMap<K, V, S> as IntoIterator>::Item

§

type Iter = IterMut<'a, K, V>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<T: Send> IntoParallelIterator for LinkedList<T>

§

type Item = <LinkedList<T> as IntoIterator>::Item

§

type Iter = IntoIter<T>

source§

fn into_par_iter(self) -> Self::Iter

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,

source§

impl<'a, T: Sync> IntoParallelIterator for &'a Option<T>

§

type Item = &'a T

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<T: Hash + Eq + Send, S: BuildHasher> IntoParallelIterator for HashSet<T, S>

§

type Item = <HashSet<T, S> as IntoIterator>::Item

§

type Iter = IntoIter<T>

source§

fn into_par_iter(self) -> Self::Iter

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,

source§

impl<A, B, C, D, E, F, G, H, I> IntoParallelIterator for (A, B, C, D, E, F, G, H, I)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,

source§

impl<'a, T: Ord + Sync> IntoParallelIterator for &'a BTreeSet<T>

§

type Item = <&'a BTreeSet<T, Global> as IntoIterator>::Item

§

type Iter = Iter<'a, T>

source§

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,

source§

impl<'a, T: Send> IntoParallelIterator for &'a mut LinkedList<T>

§

type Item = <&'a mut LinkedList<T> as IntoIterator>::Item

§

type Iter = IterMut<'a, T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<T: Ord + Send> IntoParallelIterator for BinaryHeap<T>

§

type Item = T

§

type Iter = IntoIter<T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'a, A> IntoParallelIterator for &'a mut (A,)where A: IntoParallelRefMutIterator<'a>, A::Iter: IndexedParallelIterator,

source§

impl<'a, T: Sync> IntoParallelIterator for &'a LinkedList<T>

§

type Item = <&'a LinkedList<T> as IntoIterator>::Item

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'a, T: Sync, E> IntoParallelIterator for &'a Result<T, E>

§

type Item = &'a T

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'a, K: Ord + Sync, V: Sync> IntoParallelIterator for &'a BTreeMap<K, V>

§

type Item = <&'a BTreeMap<K, V, Global> as IntoIterator>::Item

§

type Iter = Iter<'a, K, V>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<K: Hash + Eq + Send, V: Send, S: BuildHasher> IntoParallelIterator for HashMap<K, V, S>

§

type Item = <HashMap<K, V, S> as IntoIterator>::Item

§

type Iter = IntoIter<K, V>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'a, T: Send, E> IntoParallelIterator for &'a mut Result<T, E>

§

type Item = &'a mut T

§

type Iter = IterMut<'a, T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'a, T: Ord + Sync> IntoParallelIterator for &'a BinaryHeap<T>

§

type Item = <&'a BinaryHeap<T> as IntoIterator>::Item

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<T: Send, const N: usize> IntoParallelIterator for [T; N]

§

type Item = T

§

type Iter = IntoIter<T, N>

source§

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,

source§

impl<'a, A, B> IntoParallelIterator for &'a mut (A, B)where A: IntoParallelRefMutIterator<'a>, A::Iter: IndexedParallelIterator, B: IntoParallelRefMutIterator<'a>, B::Iter: IndexedParallelIterator,

source§

impl<A, B, C, D, E, F, G, H, I, J> IntoParallelIterator for (A, B, C, D, E, F, G, H, I, J)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,

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,

source§

impl<K: Ord + Send, V: Send> IntoParallelIterator for BTreeMap<K, V>

§

type Item = <BTreeMap<K, V, Global> as IntoIterator>::Item

§

type Iter = IntoIter<K, V>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<T: Send, E> IntoParallelIterator for Result<T, E>

§

type Item = T

§

type Iter = IntoIter<T>

source§

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 (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,

source§

impl<A, B, C, D, E, F, G, H, I, J, K> IntoParallelIterator for (A, B, C, D, E, F, G, H, I, J, K)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,

source§

impl<'a, T: Send> IntoParallelIterator for &'a mut VecDeque<T>

§

type Item = &'a mut T

§

type Iter = IterMut<'a, T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'data, T: Sync + 'data> IntoParallelIterator for &'data [T]

§

type Item = &'data T

§

type Iter = Iter<'data, T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<T: Send> IntoParallelIterator for VecDeque<T>

§

type Item = T

§

type Iter = IntoIter<T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'data, T: Send + 'data> IntoParallelIterator for &'data mut Vec<T>

§

type Item = &'data mut T

§

type Iter = IterMut<'data, T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<A> IntoParallelIterator for (A,)where A: IntoParallelIterator, A::Iter: IndexedParallelIterator,

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,

source§

impl<'a, K: Hash + Eq + Sync, V: Sync, S: BuildHasher> IntoParallelIterator for &'a HashMap<K, V, S>

§

type Item = <&'a HashMap<K, V, S> as IntoIterator>::Item

§

type Iter = Iter<'a, K, V>

source§

fn into_par_iter(self) -> Self::Iter

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,

source§

impl<'a, A, B, C, D, E, F, G> IntoParallelIterator for &'a mut (A, B, C, D, E, F, G)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,

source§

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,)>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'a, A, B, C, D, E> IntoParallelIterator for &'a mut (A, B, C, D, E)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,

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,

source§

impl<'data, T: Send + 'data, const N: usize> IntoParallelIterator for &'data mut [T; N]

§

type Item = &'data mut T

§

type Iter = IterMut<'data, T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<T> IntoParallelIterator for RangeInclusive<T>where Iter<T>: ParallelIterator,

Implemented for ranges of all primitive integer types and char.

§

type Item = <Iter<T> as ParallelIterator>::Item

§

type Iter = Iter<T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<T: Ord + Send> IntoParallelIterator for BTreeSet<T>

§

type Item = <BTreeSet<T, Global> as IntoIterator>::Item

§

type Iter = IntoIter<T>

source§

fn into_par_iter(self) -> Self::Iter

source§

impl<'a, A, B, C, D, E, F> IntoParallelIterator for &'a (A, B, C, D, E, F)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,

source§

impl<'a, T: Hash + Eq + Sync, S: BuildHasher> IntoParallelIterator for &'a HashSet<T, S>

§

type Item = <&'a HashSet<T, S> as IntoIterator>::Item

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(self) -> Self::Iter

Implementors§