Struct Copied
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct Copied<I> { /* private fields */ }
Copied is an iterator that copies the elements of an underlying iterator.
This struct is created by the copied() method on ParallelIterator
Trait Implementations
impl<'a, T, I> IndexedParallelIterator for Copied<I>
where
I: IndexedParallelIterator<Item = &'a T>,
T: 'a + Copy + Send + Sync,
fn drive<C>(self, consumer: C) -> C::Result where C: Consumer<Self::Item>,fn len(&self) -> usizefn with_producer<CB>(self, callback: CB) -> CB::Output where CB: ProducerCallback<Self::Item>,
impl<'a, T, I> ParallelIterator for Copied<I>
where
I: ParallelIterator<Item = &'a T>,
T: 'a + Copy + Send + Sync,
type Item = T;fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: UnindexedConsumer<Self::Item>,fn opt_len(&self) -> Option<usize>
impl<I: Clone> Clone for Copied<I>
fn clone(&self) -> Self
impl<I: Debug> Debug for Copied<I>
fn fmt(&self, f: &mut Formatter<'_>) -> Result