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) -> usize
fn 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

Auto Trait Implementations

impl<I> Freeze for Chunks<I> where I: Freeze,

impl<I> RefUnwindSafe for Chunks<I> where I: RefUnwindSafe,

impl<I> Send for Chunks<I> where I: Send,

impl<I> Sync for Chunks<I> where I: Sync,

impl<I> Unpin for Chunks<I> where I: Unpin,

impl<I> UnsafeUnpin for Chunks<I> where I: UnsafeUnpin,

impl<I> UnwindSafe for Chunks<I> where I: UnwindSafe,

Blanket Implementations

impl<T> Any for Chunks<I> where T: 'static + ?Sized,

impl<T> Borrow<T> for Chunks<I> where T: ?Sized,

impl<T> BorrowMut<T> for Chunks<I> where T: ?Sized,

impl<T> CloneToUninit for Chunks<I> where T: Clone,

impl<T> From<T> for Chunks<I>

impl<T> IntoEither for Chunks<I>

impl<T> IntoParallelIterator for Chunks<I> where T: ParallelIterator,

impl<T> Pointable for Chunks<I>

impl<T> ToOwned for Chunks<I> where T: Clone,

impl<T, U> Into<U> for Chunks<I> where U: From<T>,

impl<T, U> TryFrom<U> for Chunks<I> where U: Into<T>,

impl<T, U> TryInto<U> for Chunks<I> where U: TryFrom<T>,