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

pub trait ParallelSlice<T: Sync> {
    fn as_parallel_slice(&self) -> &[T];

    fn par_split<P>(&self, separator: P) -> Split<T, P>
    where
        P: Fn(&T) -> bool + Sync + Send
, { ... }
fn par_windows(&self, window_size: usize) -> Windows<T> { ... }
fn par_chunks(&self, chunk_size: usize) -> Chunks<T> { ... } }

Parallel extensions for slices.

Required Methods

Returns a plain slice, which is used to implement the rest of the parallel methods.

Provided Methods

Returns a parallel iterator over subslices separated by elements that match the separator.

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.

Implementations on Foreign Types

impl<T: Sync> ParallelSlice<T> for [T]
[src]

[src]

[src]

[src]

[src]

Implementors