Module rayon::iter
[−]
[src]
The ParallelIterator
module makes it easy to write parallel
programs using an iterator-style interface. To get access to all
the methods you want, the easiest is to write use rayon::prelude::*;
at the top of your module, which will import
the various traits and methods you need.
The submodules of this module mostly just contain implementaton
details of little interest to an end-user. If you'd like to read
the code itself, the plumbing
module and README.md
file are a
good place to start.
Modules
plumbing |
Traits and functions used to implement parallel iteration. These are
low-level details -- users of parallel iterators should not need to
interact with them directly. See |
Structs
Chain |
|
Cloned |
|
Empty |
Iterator adaptor for the |
Enumerate |
|
Filter |
|
FilterMap |
|
FlatMap |
|
Flatten |
|
Fold |
|
FoldWith |
|
Inspect |
|
Interleave |
|
InterleaveShortest |
|
Intersperse |
|
Map |
|
MapWith |
|
MaxLen |
|
MinLen |
|
Once |
Iterator adaptor for the |
Repeat |
Iterator adaptor for the |
RepeatN |
Iterator adaptor for the |
Rev |
|
Skip |
|
Split |
|
Take |
|
WhileSome |
|
Zip |
|
ZipEq |
An |
Enums
Either |
The enum |
Traits
FromParallelIterator |
|
IndexedParallelIterator |
An iterator that supports "random access" to its data, meaning that you can split it at arbitrary indices and draw data from those points. |
IntoParallelIterator |
|
IntoParallelRefIterator |
|
IntoParallelRefMutIterator |
|
ParallelExtend |
|
ParallelIterator |
The |
Functions
empty |
Creates a parallel iterator that produces nothing. |
once |
Creates a parallel iterator that produces an element exactly once. |
repeat |
Creates a parallel iterator that endlessly repeats |
repeatn |
Creates a parallel iterator that produces |
split |
The |