IntoParallelSource

Trait IntoParallelSource 

Source
pub trait IntoParallelSource: Clone + Send {
    type Iter: Iterator;

    // Required method
    fn generate_iterator(self, index: CoordUInt, peers: CoordUInt) -> Self::Iter;
}

Required Associated Types§

Required Methods§

Source

fn generate_iterator(self, index: CoordUInt, peers: CoordUInt) -> Self::Iter

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl IntoParallelSource for Range<i8>

Source§

type Iter = Range<i8>

Source§

fn generate_iterator(self, index: CoordUInt, peers: CoordUInt) -> Self::Iter

Source§

impl IntoParallelSource for Range<i16>

Source§

type Iter = Range<i16>

Source§

fn generate_iterator(self, index: CoordUInt, peers: CoordUInt) -> Self::Iter

Source§

impl IntoParallelSource for Range<i32>

Source§

type Iter = Range<i32>

Source§

fn generate_iterator(self, index: CoordUInt, peers: CoordUInt) -> Self::Iter

Source§

impl IntoParallelSource for Range<i64>

Source§

type Iter = Range<i64>

Source§

fn generate_iterator(self, index: CoordUInt, peers: CoordUInt) -> Self::Iter

Source§

impl IntoParallelSource for Range<isize>

Source§

type Iter = Range<isize>

Source§

fn generate_iterator(self, index: CoordUInt, peers: CoordUInt) -> Self::Iter

Source§

impl IntoParallelSource for Range<u8>

Source§

type Iter = Range<u8>

Source§

fn generate_iterator(self, index: CoordUInt, peers: CoordUInt) -> Self::Iter

Source§

impl IntoParallelSource for Range<u16>

Source§

type Iter = Range<u16>

Source§

fn generate_iterator(self, index: CoordUInt, peers: CoordUInt) -> Self::Iter

Source§

impl IntoParallelSource for Range<u32>

Source§

type Iter = Range<u32>

Source§

fn generate_iterator(self, index: CoordUInt, peers: CoordUInt) -> Self::Iter

Source§

impl IntoParallelSource for Range<u64>

Source§

type Iter = Range<u64>

Source§

fn generate_iterator(self, index: CoordUInt, peers: CoordUInt) -> Self::Iter

Source§

impl IntoParallelSource for Range<usize>

Source§

type Iter = Range<usize>

Source§

fn generate_iterator(self, index: CoordUInt, peers: CoordUInt) -> Self::Iter

Implementors§

Source§

impl<It, G> IntoParallelSource for G
where It: Iterator + Send + 'static, G: FnOnce(CoordUInt, CoordUInt) -> It + Send + Clone,

Source§

type Iter = It