pub trait IntoParallelIterator {
    type Iter: ParallelIterator<Item = Self::Item>;
    type Item: Send;

    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<'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 as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefMutIterator<'a>,
    <B as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefMutIterator<'a>,
    <C as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefMutIterator<'a>,
    <D as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefMutIterator<'a>,
    <E as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefMutIterator<'a>,
    <F as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    G: IntoParallelRefMutIterator<'a>,
    <G as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    H: IntoParallelRefMutIterator<'a>,
    <H as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    I: IntoParallelRefMutIterator<'a>,
    <I as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    J: IntoParallelRefMutIterator<'a>,
    <J as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,

source§

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

§

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

§

type Iter = IntoIter<K, V>

source§

fn into_par_iter(self) -> <HashMap<K, V, S> as IntoParallelIterator>::Iter

source§

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

§

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

§

type Iter = IterMut<'a, T>

source§

fn into_par_iter(self) -> <&'a mut LinkedList<T> as IntoParallelIterator>::Iter

source§

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

§

type Item = &'data T

§

type Iter = Iter<'data, T>

source§

fn into_par_iter(self) -> <&'data [T] as IntoParallelIterator>::Iter

source§

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

Implemented for ranges of all primitive integer types and char.

source§

impl<'a, A, B> IntoParallelIterator for &'a mut (A, B)where
    A: IntoParallelRefMutIterator<'a>,
    <A as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefMutIterator<'a>,
    <B as IntoParallelRefMutIterator<'a>>::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 as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefIterator<'a>,
    <B as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefIterator<'a>,
    <C as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefIterator<'a>,
    <D as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefIterator<'a>,
    <E as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefIterator<'a>,
    <F as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    G: IntoParallelRefIterator<'a>,
    <G as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    H: IntoParallelRefIterator<'a>,
    <H as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,

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 as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefIterator<'a>,
    <B as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefIterator<'a>,
    <C as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefIterator<'a>,
    <D as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefIterator<'a>,
    <E as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefIterator<'a>,
    <F as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    G: IntoParallelRefIterator<'a>,
    <G as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,

source§

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

§

type Item = &'a T

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(self) -> <&'a Option<T> as IntoParallelIterator>::Iter

source§

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

§

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

§

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

source§

fn into_par_iter(
    self
) -> <&'a mut BTreeMap<K, V, Global> as IntoParallelIterator>::Iter

source§

impl<A, B> IntoParallelIterator for (A, B)where
    A: IntoParallelIterator,
    <A as IntoParallelIterator>::Iter: IndexedParallelIterator,
    B: IntoParallelIterator,
    <B as IntoParallelIterator>::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 as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefMutIterator<'a>,
    <B as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefMutIterator<'a>,
    <C as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefMutIterator<'a>,
    <D as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefMutIterator<'a>,
    <E as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefMutIterator<'a>,
    <F as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    G: IntoParallelRefMutIterator<'a>,
    <G as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    H: IntoParallelRefMutIterator<'a>,
    <H as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    I: IntoParallelRefMutIterator<'a>,
    <I as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    J: IntoParallelRefMutIterator<'a>,
    <J as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    K: IntoParallelRefMutIterator<'a>,
    <K as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,

source§

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

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 as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefIterator<'a>,
    <B as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefIterator<'a>,
    <C as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefIterator<'a>,
    <D as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefIterator<'a>,
    <E as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefIterator<'a>,
    <F as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    G: IntoParallelRefIterator<'a>,
    <G as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    H: IntoParallelRefIterator<'a>,
    <H as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    I: IntoParallelRefIterator<'a>,
    <I as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    J: IntoParallelRefIterator<'a>,
    <J as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    K: IntoParallelRefIterator<'a>,
    <K as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    L: IntoParallelRefIterator<'a>,
    <L as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,

source§

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

source§

impl<A> IntoParallelIterator for (A,)where
    A: IntoParallelIterator,
    <A as IntoParallelIterator>::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 as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefMutIterator<'a>,
    <B as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefMutIterator<'a>,
    <C as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefMutIterator<'a>,
    <D as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefMutIterator<'a>,
    <E as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefMutIterator<'a>,
    <F as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    G: IntoParallelRefMutIterator<'a>,
    <G as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    H: IntoParallelRefMutIterator<'a>,
    <H as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    I: IntoParallelRefMutIterator<'a>,
    <I as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,

source§

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

§

type Item = &'a mut T

§

type Iter = IterMut<'a, T>

source§

fn into_par_iter(self) -> <&'a mut Result<T, E> as IntoParallelIterator>::Iter

source§

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

§

type Item = &'data mut T

§

type Iter = IterMut<'data, T>

source§

fn into_par_iter(self) -> <&'data mut [T] as IntoParallelIterator>::Iter

source§

impl<T> IntoParallelIterator for BTreeSet<T, Global>where
    T: Ord + Send,

source§

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

source§

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

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 as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefIterator<'a>,
    <B as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefIterator<'a>,
    <C as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefIterator<'a>,
    <D as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefIterator<'a>,
    <E as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefIterator<'a>,
    <F as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    G: IntoParallelRefIterator<'a>,
    <G as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    H: IntoParallelRefIterator<'a>,
    <H as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    I: IntoParallelRefIterator<'a>,
    <I as IntoParallelRefIterator<'a>>::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 as IntoParallelIterator>::Iter: IndexedParallelIterator,
    B: IntoParallelIterator,
    <B as IntoParallelIterator>::Iter: IndexedParallelIterator,
    C: IntoParallelIterator,
    <C as IntoParallelIterator>::Iter: IndexedParallelIterator,
    D: IntoParallelIterator,
    <D as IntoParallelIterator>::Iter: IndexedParallelIterator,
    E: IntoParallelIterator,
    <E as IntoParallelIterator>::Iter: IndexedParallelIterator,
    F: IntoParallelIterator,
    <F as IntoParallelIterator>::Iter: IndexedParallelIterator,
    G: IntoParallelIterator,
    <G as IntoParallelIterator>::Iter: IndexedParallelIterator,
    H: IntoParallelIterator,
    <H as IntoParallelIterator>::Iter: IndexedParallelIterator,
    I: IntoParallelIterator,
    <I as IntoParallelIterator>::Iter: IndexedParallelIterator,
    J: IntoParallelIterator,
    <J as IntoParallelIterator>::Iter: IndexedParallelIterator,
    K: IntoParallelIterator,
    <K as IntoParallelIterator>::Iter: IndexedParallelIterator,

source§

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

§

type Item = &'a mut T

§

type Iter = IterMut<'a, T>

source§

fn into_par_iter(
    self
) -> <&'a mut VecDeque<T, Global> as IntoParallelIterator>::Iter

source§

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

§

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

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(self) -> <&'a HashSet<T, S> as IntoParallelIterator>::Iter

source§

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

Implemented for ranges of all primitive integer types and char.

source§

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

§

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

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(self) -> <&'a LinkedList<T> as IntoParallelIterator>::Iter

source§

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

source§

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

§

type Item = &'data mut T

§

type Iter = IterMut<'data, T>

source§

fn into_par_iter(self) -> <&'data mut [T; N] as IntoParallelIterator>::Iter

source§

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

source§

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

source§

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

§

type Item = &'data T

§

type Iter = Iter<'data, T>

source§

fn into_par_iter(self) -> <&'data Vec<T, Global> as IntoParallelIterator>::Iter

source§

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

source§

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

§

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

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(
    self
) -> <&'a BTreeSet<T, Global> as IntoParallelIterator>::Iter

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 as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefIterator<'a>,
    <B as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefIterator<'a>,
    <C as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefIterator<'a>,
    <D as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefIterator<'a>,
    <E as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefIterator<'a>,
    <F as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    G: IntoParallelRefIterator<'a>,
    <G as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    H: IntoParallelRefIterator<'a>,
    <H as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    I: IntoParallelRefIterator<'a>,
    <I as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    J: IntoParallelRefIterator<'a>,
    <J as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,

source§

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

§

type Item = &'a T

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(self) -> <&'a Result<T, E> as IntoParallelIterator>::Iter

source§

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

§

type Item = &'data T

§

type Iter = Iter<'data, T>

source§

fn into_par_iter(self) -> <&'data [T; N] as IntoParallelIterator>::Iter

source§

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

source§

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

§

type Item = &'a mut T

§

type Iter = IterMut<'a, T>

source§

fn into_par_iter(self) -> <&'a mut Option<T> as IntoParallelIterator>::Iter

source§

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

source§

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

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 as IntoParallelIterator>::Iter: IndexedParallelIterator,
    B: IntoParallelIterator,
    <B as IntoParallelIterator>::Iter: IndexedParallelIterator,
    C: IntoParallelIterator,
    <C as IntoParallelIterator>::Iter: IndexedParallelIterator,
    D: IntoParallelIterator,
    <D as IntoParallelIterator>::Iter: IndexedParallelIterator,
    E: IntoParallelIterator,
    <E as IntoParallelIterator>::Iter: IndexedParallelIterator,
    F: IntoParallelIterator,
    <F as IntoParallelIterator>::Iter: IndexedParallelIterator,
    G: IntoParallelIterator,
    <G as IntoParallelIterator>::Iter: IndexedParallelIterator,
    H: IntoParallelIterator,
    <H as IntoParallelIterator>::Iter: IndexedParallelIterator,
    I: IntoParallelIterator,
    <I as IntoParallelIterator>::Iter: IndexedParallelIterator,

source§

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

source§

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

source§

impl<T> IntoParallelIterator for VecDeque<T, Global>where
    T: Send,

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 as IntoParallelIterator>::Iter: IndexedParallelIterator,
    B: IntoParallelIterator,
    <B as IntoParallelIterator>::Iter: IndexedParallelIterator,
    C: IntoParallelIterator,
    <C as IntoParallelIterator>::Iter: IndexedParallelIterator,
    D: IntoParallelIterator,
    <D as IntoParallelIterator>::Iter: IndexedParallelIterator,
    E: IntoParallelIterator,
    <E as IntoParallelIterator>::Iter: IndexedParallelIterator,
    F: IntoParallelIterator,
    <F as IntoParallelIterator>::Iter: IndexedParallelIterator,
    G: IntoParallelIterator,
    <G as IntoParallelIterator>::Iter: IndexedParallelIterator,
    H: IntoParallelIterator,
    <H as IntoParallelIterator>::Iter: IndexedParallelIterator,
    I: IntoParallelIterator,
    <I as IntoParallelIterator>::Iter: IndexedParallelIterator,
    J: IntoParallelIterator,
    <J as IntoParallelIterator>::Iter: IndexedParallelIterator,
    K: IntoParallelIterator,
    <K as IntoParallelIterator>::Iter: IndexedParallelIterator,
    L: IntoParallelIterator,
    <L as IntoParallelIterator>::Iter: IndexedParallelIterator,

source§

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

source§

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

source§

impl<'a, A, B, C, D, E, F> IntoParallelIterator for &'a (A, B, C, D, E, F)where
    A: IntoParallelRefIterator<'a>,
    <A as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefIterator<'a>,
    <B as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefIterator<'a>,
    <C as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefIterator<'a>,
    <D as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefIterator<'a>,
    <E as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefIterator<'a>,
    <F as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,

source§

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

source§

impl<A, B, C, D, E, F, G, H> IntoParallelIterator for (A, B, C, D, E, F, G, H)where
    A: IntoParallelIterator,
    <A as IntoParallelIterator>::Iter: IndexedParallelIterator,
    B: IntoParallelIterator,
    <B as IntoParallelIterator>::Iter: IndexedParallelIterator,
    C: IntoParallelIterator,
    <C as IntoParallelIterator>::Iter: IndexedParallelIterator,
    D: IntoParallelIterator,
    <D as IntoParallelIterator>::Iter: IndexedParallelIterator,
    E: IntoParallelIterator,
    <E as IntoParallelIterator>::Iter: IndexedParallelIterator,
    F: IntoParallelIterator,
    <F as IntoParallelIterator>::Iter: IndexedParallelIterator,
    G: IntoParallelIterator,
    <G as IntoParallelIterator>::Iter: IndexedParallelIterator,
    H: IntoParallelIterator,
    <H as IntoParallelIterator>::Iter: IndexedParallelIterator,

source§

impl<T> IntoParallelIterator for Vec<T, Global>where
    T: Send,

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 as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefMutIterator<'a>,
    <B as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefMutIterator<'a>,
    <C as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefMutIterator<'a>,
    <D as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefMutIterator<'a>,
    <E as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefMutIterator<'a>,
    <F as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    G: IntoParallelRefMutIterator<'a>,
    <G as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    H: IntoParallelRefMutIterator<'a>,
    <H as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    I: IntoParallelRefMutIterator<'a>,
    <I as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    J: IntoParallelRefMutIterator<'a>,
    <J as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    K: IntoParallelRefMutIterator<'a>,
    <K as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    L: IntoParallelRefMutIterator<'a>,
    <L as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,

source§

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

source§

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

§

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

§

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

source§

fn into_par_iter(self) -> <&'a HashMap<K, V, S> as IntoParallelIterator>::Iter

source§

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

§

type Item = &'data mut T

§

type Iter = IterMut<'data, T>

source§

fn into_par_iter(
    self
) -> <&'data mut Vec<T, Global> as IntoParallelIterator>::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 as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefMutIterator<'a>,
    <B as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefMutIterator<'a>,
    <C as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefMutIterator<'a>,
    <D as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefMutIterator<'a>,
    <E as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefMutIterator<'a>,
    <F as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    G: IntoParallelRefMutIterator<'a>,
    <G as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    H: IntoParallelRefMutIterator<'a>,
    <H as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,

source§

impl<T> IntoParallelIterator for Option<T>where
    T: Send,

source§

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

source§

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

§

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

§

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

source§

fn into_par_iter(
    self
) -> <&'a BTreeMap<K, V, Global> as IntoParallelIterator>::Iter

source§

impl<'a, A, B, C, D> IntoParallelIterator for &'a (A, B, C, D)where
    A: IntoParallelRefIterator<'a>,
    <A as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefIterator<'a>,
    <B as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefIterator<'a>,
    <C as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefIterator<'a>,
    <D as IntoParallelRefIterator<'a>>::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 as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefMutIterator<'a>,
    <B as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefMutIterator<'a>,
    <C as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefMutIterator<'a>,
    <D as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefMutIterator<'a>,
    <E as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefMutIterator<'a>,
    <F as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    G: IntoParallelRefMutIterator<'a>,
    <G as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,

source§

impl<'a, A, B, C, D, E> IntoParallelIterator for &'a (A, B, C, D, E)where
    A: IntoParallelRefIterator<'a>,
    <A as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefIterator<'a>,
    <B as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefIterator<'a>,
    <C as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefIterator<'a>,
    <D as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefIterator<'a>,
    <E as IntoParallelRefIterator<'a>>::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 as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefMutIterator<'a>,
    <B as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefMutIterator<'a>,
    <C as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefMutIterator<'a>,
    <D as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefMutIterator<'a>,
    <E as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefMutIterator<'a>,
    <F as IntoParallelRefMutIterator<'a>>::Iter: IndexedParallelIterator,

source§

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

§

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

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(self) -> <&'a BinaryHeap<T> as IntoParallelIterator>::Iter

source§

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

§

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

§

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

source§

fn into_par_iter(
    self
) -> <&'a mut HashMap<K, V, S> as IntoParallelIterator>::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 as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    B: IntoParallelRefIterator<'a>,
    <B as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    C: IntoParallelRefIterator<'a>,
    <C as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    D: IntoParallelRefIterator<'a>,
    <D as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    E: IntoParallelRefIterator<'a>,
    <E as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    F: IntoParallelRefIterator<'a>,
    <F as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    G: IntoParallelRefIterator<'a>,
    <G as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    H: IntoParallelRefIterator<'a>,
    <H as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    I: IntoParallelRefIterator<'a>,
    <I as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    J: IntoParallelRefIterator<'a>,
    <J as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,
    K: IntoParallelRefIterator<'a>,
    <K as IntoParallelRefIterator<'a>>::Iter: IndexedParallelIterator,

source§

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

§

type Item = &'a T

§

type Iter = Iter<'a, T>

source§

fn into_par_iter(
    self
) -> <&'a VecDeque<T, Global> as IntoParallelIterator>::Iter

Implementors§

source§

impl<T> IntoParallelIterator for Twhere
    T: ParallelIterator,

§

type Iter = T

§

type Item = <T as ParallelIterator>::Item