Trait IntoParallelBlockIterator

Source
pub trait IntoParallelBlockIterator<const N: usize> {
    type Item: AsSafView<N>;
    type Iter: IndexedParallelIterator<Item = Self::Item>;

    // Required method
    fn into_par_block_iter(self, block_size: usize) -> Self::Iter;
}
Expand description

A type that can be turned into a parallel iterator blocks of SAF sites.

Required Associated Types§

Source

type Item: AsSafView<N>

The type of each individual block.

Source

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

The type of iterator.

Required Methods§

Source

fn into_par_block_iter(self, block_size: usize) -> Self::Iter

Convert this type into a parallel iterator over SAF blocks containing block_size sites per block.

Implementors§

Source§

impl<'a, 'b, const N: usize> IntoParallelBlockIterator<N> for &'b SafView<'a, N>

Source§

type Item = SafView<'a, N>

Source§

type Iter = ParBlockIter<'a, N>

Source§

impl<'a, const N: usize> IntoParallelBlockIterator<N> for &'a Saf<N>

Source§

type Item = SafView<'a, N>

Source§

type Iter = ParBlockIter<'a, N>

Source§

impl<'a, const N: usize> IntoParallelBlockIterator<N> for SafView<'a, N>

Source§

type Item = SafView<'a, N>

Source§

type Iter = ParBlockIter<'a, N>