Module prelude
Available on crate feature
rayon
only.Expand description
The rayon prelude imports the various ParallelIterator
traits.
The intention is that one can include use rayon::prelude::*
and
have easy access to the various traits and methods you will need.
Traits§
- From
Parallel Iterator FromParallelIterator
implements the creation of a collection from aParallelIterator
. By implementingFromParallelIterator
for a given type, you define how it will be created from an iterator.- Indexed
Parallel Iterator - An iterator that supports “random access” to its data, meaning that you can split it at arbitrary indices and draw data from those points.
- Into
Parallel Iterator IntoParallelIterator
implements the conversion to aParallelIterator
.- Into
Parallel RefIterator IntoParallelRefIterator
implements the conversion to aParallelIterator
, providing shared references to the data.- Into
Parallel RefMut Iterator IntoParallelRefMutIterator
implements the conversion to aParallelIterator
, providing mutable references to the data.- Parallel
Bridge - Conversion trait to convert an
Iterator
to aParallelIterator
. - Parallel
Drain Full ParallelDrainFull
creates a parallel iterator that moves all items from a collection while retaining the original capacity.- Parallel
Drain Range ParallelDrainRange
creates a parallel iterator that moves a range of items from a collection while retaining the original capacity.- Parallel
Extend ParallelExtend
extends an existing collection with items from aParallelIterator
.- Parallel
Iterator - Parallel version of the standard iterator trait.
- Parallel
Slice - Parallel extensions for slices.
- Parallel
Slice Mut - Parallel extensions for mutable slices.
- Parallel
String - Parallel extensions for strings.