Struct ChunkBy
pub struct ChunkBy<'data, T, P> { /* private fields */ }
Parallel iterator over slice in (non-overlapping) chunks separated by a predicate.
This struct is created by the par_chunk_by method on &[T].
Trait Implementations
impl<'data, T, P> ParallelIterator for ChunkBy<'data, T, P>
where
T: Sync,
P: Fn(&T, &T) -> bool + Send + Sync,
type Item = &'data [T];fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: UnindexedConsumer<Self::Item>,
impl<T, P: Clone> Clone for ChunkBy<'_, T, P>
fn clone(&self) -> Self
impl<T: Debug, P> Debug for ChunkBy<'_, T, P>
fn fmt(&self, f: &mut Formatter<'_>) -> Result