chain.rs
SHA-256ae3c0bcaf8da188484191c195f223de52da0948ed5d658f3fd584b54e5d379b8
Malecule∅
Evidence
1use super::plumbing::*;
2use super::*;
3use std::cmp;
4use std::iter;
5use rayon_core::join;
6
7/// `Chain` is an iterator that joins `b` after `a` in one continuous iterator.
8/// This struct is created by the [`chain()`] method on [`ParallelIterator`]
9///
10/// [`chain()`]: trait.ParallelIterator.html#met …
11:48… r.html
12#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
13#[derive(Debug, Clone)]
14pub struct Chain<A, B>
15 where A: Parall …
29:9… n { a: a, b: b }
30}
31
32impl<A, B> ParallelIterator for Chain<A, B>
33 where A: ParallelIterator,
34 B: ParallelIterator<Item = A::Item>
35{
36 …