mod.rs
Rust test marker or harnessimports self::zip::Zip
SHA-256a2bc73a1038c7df036c2ffb1880b9b8fcea668d4ccc862eab68625ce1503668c
MaleculeMd₂(InPa)
Evidence
1//! Traits for writing parallel programs using an iterator-style interface
2//!
3//! You will rarely need to interact with this module directly unless you have
4//! need to name one of the iterator types.
5//!
6//! Parallel iterators make it easy to write iterator-like chains that
7//! execute in parallel: typically all you have to do is convert the
8//! first `.iter()` (or `i …
36:8… rators work by first constructing a computation and then
37//! executing it.
38//!
39//! In addition to `par_iter()` and friends, some types offer other
74:3… ! `None`/`Err` values will exit early.
75
76pub use either::Either;
77use std::cmp::{self, Ordering};
78use std::iter::{Sum, Product};
79use std::ops::Fn;
80use self::plumbing::*;
81use self::private::Try;
82
83// There is a method to the madness here:
84//
85// - Most of these modules are private but expos …
92:32… ed.
93
94mod par_bridge;
95pub use self::par_bridge::{ParallelBridge, IterBridge};
96
97mod find;
98mod find_first_last;
99mod chain;
100pub use self::chain::Chain;
101mod chunks;
102pub use self::chunks::Chunks;
103mod collect;
104mod enumerate;
105pub use self::enumerate::Enumerate;
106mod filter;
107pub use self::filter::Filter;
108mod filter_map;
109pub use self::filter_map::FilterMap;
110mod flat_map;
111pub use self::flat_map::FlatMap;
112mod flatten;
113pub use self::flatten::Flatten;
114mod from_par_iter;
115pub mod plumbing;
116mod for_each;
117mod fold;
118pub use self::fold::{Fold, FoldWith};
119mod try_fold;
120pub use self::try_fold::{TryFold, TryFoldWith};
121mod reduce;
122mod try_reduce;
123mod try_reduce_with;
124mod skip;
125pub use self::skip::Skip;
126mod splitter;
127pub use self::splitter::{split, Split};
128mod take;
129pub use self::take::Take;
130mod map;
131pub use self::map::Map;
132mod map_with;
133pub use self::map_with::{MapWith, MapInit};
134mod zip;
135pub use self::zip::Zip;
136mod zip_eq;
137pub use self::zip_eq::ZipEq;
138mod interleave;
139pub use self::interleave::Interleave;