Struct Chunks
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct Chunks<I> { /* private fields */ }
Chunks is an iterator that groups elements of an underlying iterator.
This struct is created by the chunks() method on IndexedParallelIterator
Trait Implementations
impl<I> IndexedParallelIterator for Chunks<I>
where
I: IndexedParallelIterator,
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<I> ParallelIterator for Chunks<I>
where
I: IndexedParallelIterator,
type Item = Vec<<I as ParallelIterator>::Item>;fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: Consumer<Vec<I::Item>>,fn opt_len(&self) -> Option<usize>
impl<I: Clone> Clone for Chunks<I>
fn clone(&self) -> Self
impl<I: Debug> Debug for Chunks<I>
fn fmt(&self, f: &mut Formatter<'_>) -> Result