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
fn par_windows(&self, size: usize) -> Windows<T> where T: Sync
Returns a parallel iterator over all contiguous windows of
length size
. The windows overlap.
fn par_chunks(&self, size: usize) -> Chunks<T> where T: Sync
Returns a parallel iterator over at most size
elements of
self
at a time. The chunks do not overlap.
fn par_chunks_mut(&mut self, size: usize) -> ChunksMut<T> where T: Send
Returns a parallel iterator over at most size
elements of
self
at a time. The chunks are mutable and do not overlap.