IntoParChunkIterator

Trait IntoParChunkIterator 

Source
pub trait IntoParChunkIterator {
    type Item: Send;
    type IterType: IndexedParallelIterator<Item = Self::Item>;

    // Required method
    fn into_par_chunk_iter(self, chunk_size: usize) -> Self::IterType;
}
Expand description

Parallel version of IntoChunkIterator.

Required Associated Types§

Required Methods§

Source

fn into_par_chunk_iter(self, chunk_size: usize) -> Self::IterType

Implementations on Foreign Types§

Source§

impl<'a, T: Send + Sync> IntoParChunkIterator for &'a [T]

Source§

type Item = &'a [T]

Source§

type IterType = Chunks<'a, T>

Source§

fn into_par_chunk_iter(self, chunk_size: usize) -> Self::IterType

Source§

impl<'a, T: Send + Sync> IntoParChunkIterator for &'a mut [T]

Source§

type Item = &'a mut [T]

Source§

type IterType = ChunksMut<'a, T>

Source§

fn into_par_chunk_iter(self, chunk_size: usize) -> Self::IterType

Implementors§