Trait IntoParallelIterator
trait IntoParallelIterator
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.
Associated Types
type Iter: TraitBound { trait_: Path { path: "ParallelIterator", id: Id(20), args: Some(AngleBracketed { args: [], constraints: [AssocItemConstraint { name: "Item", args: None, binding: Equality(Type(QualifiedPath { name: "Item", args: None, self_type: Generic("Self"), trait_: Some(Path { path: "", id: Id(23), args: None }) })) }] }) }, generic_params: [], modifier: None }The parallel iterator type that will be created.
type Item: TraitBound { trait_: Path { path: "Send", id: Id(6), args: None }, generic_params: [], modifier: None }The type of item that the parallel iterator will produce.
Required Methods
fn into_par_iter(self: Self) -> <Self as >::IterConverts
selfinto a parallel iterator.Examples
use *; println!; .into_par_iter .for_each;This conversion is often implicit for arguments to methods like
zip.use *; let v: = .into_par_iter.zip.collect; assert_eq!;
Implementors
impl<'a, K: Ord + Sync, V: Sync> IntoParallelIterator for &'a std::collections::BTreeMap<K, V>impl<T> IntoParallelIterator for Rev<I>impl<T> IntoParallelIterator for Iter<T>impl<T> IntoParallelIterator for RChunks<'data, T>impl<T> IntoParallelIterator for MaxLen<I>impl<'a, A, B, C> IntoParallelIterator for &'a (A, B, C)impl<T> IntoParallelIterator for FlatMap<I, F>impl<T: Send> IntoParallelIterator for std::collections::VecDeque<T>impl<'a, A, B, C, D, E, F, G> IntoParallelIterator for &'a (A, B, C, D, E, F, G)impl<T> IntoParallelIterator for std::ops::RangeInclusive<T>impl<T> IntoParallelIterator for FoldWith<I, U, F>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)impl<'a, T: Sync> IntoParallelIterator for &'a std::collections::VecDeque<T>impl<T> IntoParallelIterator for RepeatN<T>impl<T> IntoParallelIterator for SplitAsciiWhitespace<'ch>impl<T> IntoParallelIterator for WalkTree<S, B>impl<T> IntoParallelIterator for Iter<'a, T>impl<T> IntoParallelIterator for IntoIter<T>impl<T> IntoParallelIterator for MapInit<I, INIT, F>impl<T> IntoParallelIterator for Iter<'a, T>impl<T> IntoParallelIterator for Update<I, F>impl<T> IntoParallelIterator for Iter<'a, K, V>impl<T> IntoParallelIterator for IterMut<'a, T>impl<T> IntoParallelIterator for Windows<'data, T>impl<A, B, C, D, E> IntoParallelIterator for (A, B, C, D, E)impl<T: Send, N: usize> IntoParallelIterator for [T; N]impl<T> IntoParallelIterator for MapWith<I, T, F>impl<T> IntoParallelIterator for Fold<I, ID, F>impl<A, B, C, D, E, F, G, H, I> IntoParallelIterator for (A, B, C, D, E, F, G, H, I)impl<'data, T: Sync + 'data> IntoParallelIterator for &'data [T]impl<T> IntoParallelIterator for RChunksExactMut<'data, T>impl<T> IntoParallelIterator for Once<T>impl<T> IntoParallelIterator for Bytes<'ch>impl<T> IntoParallelIterator for IntoIter<T>impl<T> IntoParallelIterator for SplitTerminator<'ch, P>impl<T> IntoParallelIterator for SplitInclusiveMut<'data, T, P>impl<T> IntoParallelIterator for FoldChunks<I, ID, F>impl<T> IntoParallelIterator for Positions<I, P>impl<'a, A, B> IntoParallelIterator for &'a mut (A, B)impl<'a, T: Sync> IntoParallelIterator for &'a std::collections::LinkedList<T>impl<T> IntoParallelIterator for IntoIter<K, V>impl<'a, A, B, C, D, E, F> IntoParallelIterator for &'a mut (A, B, C, D, E, F)impl<T> IntoParallelIterator for Iter<'data, T>impl<T> IntoParallelIterator for ChunksMut<'data, T>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)impl<T> IntoParallelIterator for Iter<'a, T>impl<T> IntoParallelIterator for IntoIter<T>impl<T> IntoParallelIterator for ExponentialBlocks<I>impl<T> IntoParallelIterator for IterBridge<Iter>impl<T> IntoParallelIterator for Drain<'a, T>impl<T> IntoParallelIterator for SplitInclusive<'ch, P>impl<T> IntoParallelIterator for StepBy<I>impl<T> IntoParallelIterator for Flatten<I>impl<'a, A, B, C, D> IntoParallelIterator for &'a (A, B, C, D)impl<T> IntoParallelIterator for IntoIter<T, N>impl<T> IntoParallelIterator for Zip<A, B>impl<'a, A, B, C, D, E, F, G, H> IntoParallelIterator for &'a (A, B, C, D, E, F, G, H)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)impl<T> IntoParallelIterator for ChunksExact<'data, T>impl<'a, K: Hash + Eq + Sync, V: Send, S: BuildHasher> IntoParallelIterator for &'a mut std::collections::HashMap<K, V, S>impl<T: ParallelIterator> IntoParallelIterator for Timpl<T> IntoParallelIterator for Iter<'a, K, V>impl<T> IntoParallelIterator for Iter<'a, T>impl<T: Hash + Eq + Send, S: BuildHasher> IntoParallelIterator for std::collections::HashSet<T, S>impl<T> IntoParallelIterator for FoldChunksWith<I, U, F>impl<T: Send> IntoParallelIterator for Option<T>impl<T> IntoParallelIterator for Split<D, S>impl<A, B> IntoParallelIterator for (A, B)impl<T> IntoParallelIterator for Split<'ch, P>impl<T> IntoParallelIterator for TryFoldWith<I, U, F>impl<A, B, C, D, E, F> IntoParallelIterator for (A, B, C, D, E, F)impl<T> IntoParallelIterator for Filter<I, P>impl<'a, T: Sync> IntoParallelIterator for &'a Option<T>impl<T> IntoParallelIterator for Drain<'a>impl<T> IntoParallelIterator for Cloned<I>impl<A, B, C, D, E, F, G, H, I, J> IntoParallelIterator for (A, B, C, D, E, F, G, H, I, J)impl<'data, T: Send + 'data> IntoParallelIterator for &'data mut Vec<T>impl<T> IntoParallelIterator for IterMut<'a, T>impl<'a, T: Send> IntoParallelIterator for &'a mut Option<T>impl<T> IntoParallelIterator for IterMut<'data, T>impl<T: Send> IntoParallelIterator for Vec<T>impl<T> IntoParallelIterator for IterMut<'a, T>impl<'a, K: Ord + Sync, V: Send> IntoParallelIterator for &'a mut std::collections::BTreeMap<K, V>impl<T> IntoParallelIterator for MultiZip<T>impl<T> IntoParallelIterator for std::ops::Range<T>impl<T> IntoParallelIterator for IterMut<'a, K, V>impl<T> IntoParallelIterator for Chunks<I>impl<T> IntoParallelIterator for IntoIter<K, V>impl<T> IntoParallelIterator for IntoIter<T>impl<T: Ord + Send> IntoParallelIterator for std::collections::BTreeSet<T>impl<'a, A, B, C> IntoParallelIterator for &'a mut (A, B, C)impl<T> IntoParallelIterator for Interleave<I, J>impl<'a, A, B, C, D, E, F, G> IntoParallelIterator for &'a mut (A, B, C, D, E, F, G)impl<T> IntoParallelIterator for EncodeUtf16<'ch>impl<T> IntoParallelIterator for Lines<'ch>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)impl<'a, T: Send> IntoParallelIterator for &'a mut std::collections::VecDeque<T>impl<T> IntoParallelIterator for Empty<T>impl<T> IntoParallelIterator for Chain<A, B>impl<T> IntoParallelIterator for Iter<T>impl<T> IntoParallelIterator for Inspect<I, F>impl<T> IntoParallelIterator for PanicFuse<I>impl<T> IntoParallelIterator for IntoIter<T>impl<T> IntoParallelIterator for ChunkByMut<'data, T, P>impl<T> IntoParallelIterator for IterMut<'a, T>impl<'a, A, B, C, D, E> IntoParallelIterator for &'a (A, B, C, D, E)impl<T: Ord + Send> IntoParallelIterator for std::collections::BinaryHeap<T>impl<'a, A, B, C, D, E, F, G, H, I> IntoParallelIterator for &'a (A, B, C, D, E, F, G, H, I)impl<'data, T: Send + 'data> IntoParallelIterator for &'data mut [T]impl<T> IntoParallelIterator for UniformBlocks<I>impl<'a, T: Ord + Sync> IntoParallelIterator for &'a std::collections::BinaryHeap<T>impl<T> IntoParallelIterator for Chars<'ch>impl<T> IntoParallelIterator for Drain<'data, T>impl<K: Ord + Send, V: Send> IntoParallelIterator for std::collections::BTreeMap<K, V>impl<T> IntoParallelIterator for Chunks<'data, T>impl<T> IntoParallelIterator for FlattenIter<I>impl<T> IntoParallelIterator for ChunkBy<'data, T, P>impl<A, B, C> IntoParallelIterator for (A, B, C)impl<'a, T: Send> IntoParallelIterator for &'a mut std::collections::LinkedList<T>impl<A, B, C, D, E, F, G> IntoParallelIterator for (A, B, C, D, E, F, G)impl<T> IntoParallelIterator for ZipEq<A, B>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)impl<T> IntoParallelIterator for RChunksMut<'data, T>impl<T> IntoParallelIterator for WalkTreePrefix<S, B>impl<T> IntoParallelIterator for Iter<'a, T>impl<T> IntoParallelIterator for IterMut<'a, K, V>impl<T: Send, E> IntoParallelIterator for Result<T, E>impl<'data, T: Sync + 'data, N: usize> IntoParallelIterator for &'data [T; N]impl<T> IntoParallelIterator for MinLen<I>impl<'a, T: Sync, E> IntoParallelIterator for &'a Result<T, E>impl<T> IntoParallelIterator for SplitMut<'data, T, P>impl<'a, A, B, C, D> IntoParallelIterator for &'a mut (A, B, C, D)impl<T> IntoParallelIterator for Drain<'a, T>impl<'data, T: Send + 'data, N: usize> IntoParallelIterator for &'data mut [T; N]impl<T> IntoParallelIterator for TakeAnyWhile<I, P>impl<'a, A, B, C, D, E, F, G, H> IntoParallelIterator for &'a mut (A, B, C, D, E, F, G, H)impl<'a, T: Send, E> IntoParallelIterator for &'a mut Result<T, E>impl<T> IntoParallelIterator for ChunksExactMut<'data, T>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)impl<T> IntoParallelIterator for Intersperse<I>impl<T> IntoParallelIterator for RChunksExact<'data, T>impl<T> IntoParallelIterator for Repeat<T>impl<'a, T: Hash + Eq + Sync, S: BuildHasher> IntoParallelIterator for &'a std::collections::HashSet<T, S>impl<T> IntoParallelIterator for SplitWhitespace<'ch>impl<T> IntoParallelIterator for WalkTreePostfix<S, B>impl<T> IntoParallelIterator for IntoIter<T>impl<'a, A, B> IntoParallelIterator for &'a (A, B)impl<T> IntoParallelIterator for TakeAny<I>impl<T: Send> IntoParallelIterator for std::collections::LinkedList<T>impl<'a, A, B, C, D, E, F> IntoParallelIterator for &'a (A, B, C, D, E, F)impl<T> IntoParallelIterator for InterleaveShortest<I, J>impl<T> IntoParallelIterator for SplitInclusive<'data, T, P>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)impl<T> IntoParallelIterator for Iter<'a, T>impl<T> IntoParallelIterator for Enumerate<I>impl<T> IntoParallelIterator for SkipAnyWhile<I, P>impl<T> IntoParallelIterator for Take<I>impl<T> IntoParallelIterator for TryFold<I, U, ID, F>impl<'a, T: Ord + Sync> IntoParallelIterator for &'a std::collections::BTreeSet<T>impl<A, B, C, D> IntoParallelIterator for (A, B, C, D)impl<T> IntoParallelIterator for CharIndices<'ch>impl<T> IntoParallelIterator for MatchIndices<'ch, P>impl<A, B, C, D, E, F, G, H> IntoParallelIterator for (A, B, C, D, E, F, G, H)impl<K: Hash + Eq + Send, V: Send, S: BuildHasher> IntoParallelIterator for std::collections::HashMap<K, V, S>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)impl<T> IntoParallelIterator for Split<'data, T, P>impl<A> IntoParallelIterator for (A)impl<T> IntoParallelIterator for SkipAny<I>impl<T> IntoParallelIterator for FilterMap<I, P>impl<'a, K: Hash + Eq + Sync, V: Sync, S: BuildHasher> IntoParallelIterator for &'a std::collections::HashMap<K, V, S>impl<'a, A> IntoParallelIterator for &'a (A)impl<T> IntoParallelIterator for IntoIter<T>impl<T> IntoParallelIterator for IntoIter<T>impl<T> IntoParallelIterator for Drain<'a, T>impl<T> IntoParallelIterator for Copied<I>impl<T> IntoParallelIterator for Drain<'a, K, V>impl<'a, A> IntoParallelIterator for &'a mut (A)impl<'a, A, B, C, D, E> IntoParallelIterator for &'a mut (A, B, C, D, E)impl<T> IntoParallelIterator for Skip<I>impl<T> IntoParallelIterator for FlatMapIter<I, F>impl<T> IntoParallelIterator for Iter<'a, T>impl<'a, A, B, C, D, E, F, G, H, I> IntoParallelIterator for &'a mut (A, B, C, D, E, F, G, H, I)impl<T> IntoParallelIterator for Matches<'ch, P>impl<T> IntoParallelIterator for WhileSome<I>impl<'data, T: Sync + 'data> IntoParallelIterator for &'data Vec<T>impl<T> IntoParallelIterator for Map<I, F>