Skip to main content

IntoParallelIterator

Trait IntoParallelIterator 

Source
pub trait IntoParallelIterator {
    type Iter: ParallelIterator<Item = Self::Item>;
    type Item;

    // Required method
    fn into_par_iter(self) -> Self::Iter;
}
Expand description

Trait for types that can be converted into parallel iterators

Required Associated Types§

Source

type Iter: ParallelIterator<Item = Self::Item>

The parallel iterator type

Source

type Item

The item type

Required Methods§

Source

fn into_par_iter(self) -> Self::Iter

Convert into a parallel iterator

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§