Skip to main content

ParallelSlice

Trait ParallelSlice 

Source
pub trait ParallelSlice<T> {
    // Required method
    fn par(&self) -> ParRef<'_, T, Adaptive>;
}
Expand description

Extension trait providing an adaptive parallel view over &[T].

Required Methods§

Source

fn par(&self) -> ParRef<'_, T, Adaptive>

Adaptive, auto-routing parallel view (the everyday entry point).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> ParallelSlice<T> for [T]

Source§

fn par(&self) -> ParRef<'_, T, Adaptive>

Implementors§