pub trait IntoParallelVec<T: Sync> {
// Required method
fn par_vec(&self) -> ParallelVec<'_, T>;
}Expand description
Extension trait to enable parallel iteration
Required Methods§
Sourcefn par_vec(&self) -> ParallelVec<'_, T>
fn par_vec(&self) -> ParallelVec<'_, T>
Convert into a parallel vector iterator
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".