cloned.rs
SHA-256d74fbc5862e7d32f5ceebbaf56c0cc4a5b96d06e4b8f25d0a957e4e520f69dfd
Malecule∅
Evidence
1use super::plumbing::*;
2use super::*;
3
4use std::iter;
5
6/// `Cloned` is an iterator that clones the elements of an underlying iterator.
7///
8/// This struct is created by the [`cloned()`] method on [`ParallelIterator`]
9///
10/// [`cloned()`]: trai …
11:48… r.html
12#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
13#[derive(Debug, Clone)]
14pub struct Cloned<I: ParallelIterator> {
15 …
24:14… base: base }
25}
26
27impl<'a, T, I> ParallelIterator for Cloned<I>
28 where I: ParallelIterator<Item = &'a T>,
29 T: 'a + Clone + Send + Sync
30{