Trait rayon::slice::ParallelSlice [] [src]

pub trait ParallelSlice<T> {
    fn par_windows(&self, size: usize) -> Windows<T>
    where
        T: Sync
; fn par_chunks(&self, size: usize) -> Chunks<T>
    where
        T: Sync
; fn par_chunks_mut(&mut self, size: usize) -> ChunksMut<T>
    where
        T: Send
; }

Parallel extensions for slices.

Implementing this trait is not permitted outside of rayon.

Required Methods

Returns a parallel iterator over all contiguous windows of length size. The windows overlap.

Returns a parallel iterator over at most size elements of self at a time. The chunks do not overlap.

Returns a parallel iterator over at most size elements of self at a time. The chunks are mutable and do not overlap.

Implementors