pub trait IntoParallelIterator {
type Item: Send;
type Iter: ParallelIterator<Item = Self::Item>;
// Required method
fn into_par_iter(self) -> Self::Iter;
}Expand description
Extension trait for collections to create parallel iterators.
Required Associated Types§
Sourcetype Iter: ParallelIterator<Item = Self::Item>
type Iter: ParallelIterator<Item = Self::Item>
Parallel iterator produced by conversion.
Required Methods§
Sourcefn into_par_iter(self) -> Self::Iter
fn into_par_iter(self) -> Self::Iter
Convert self into a parallel iterator.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".