Trait rayon::range::private::IndexedRangeInteger

source ·
pub trait IndexedRangeInteger: RangeInteger {
    // Required methods
    fn drive<C>(iter: Iter<Self>, consumer: C) -> C::Result
       where C: Consumer<Self>;
    fn len(iter: &Iter<Self>) -> usize;
    fn with_producer<CB>(iter: Iter<Self>, callback: CB) -> CB::Output
       where CB: ProducerCallback<Self>;
}
Expand description

Implementation details of IndexedParallelIterator for Iter<Self>

Required Methods§

source

fn drive<C>(iter: Iter<Self>, consumer: C) -> C::Result
where C: Consumer<Self>,

source

fn len(iter: &Iter<Self>) -> usize

source

fn with_producer<CB>(iter: Iter<Self>, callback: CB) -> CB::Output
where CB: ProducerCallback<Self>,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IndexedRangeInteger for i8

source§

fn drive<C>(iter: Iter<i8>, consumer: C) -> C::Result
where C: Consumer<i8>,

source§

fn len(iter: &Iter<i8>) -> usize

source§

fn with_producer<CB>(iter: Iter<i8>, callback: CB) -> CB::Output
where CB: ProducerCallback<i8>,

source§

impl IndexedRangeInteger for i16

source§

fn drive<C>(iter: Iter<i16>, consumer: C) -> C::Result
where C: Consumer<i16>,

source§

fn len(iter: &Iter<i16>) -> usize

source§

fn with_producer<CB>(iter: Iter<i16>, callback: CB) -> CB::Output
where CB: ProducerCallback<i16>,

source§

impl IndexedRangeInteger for i32

source§

fn drive<C>(iter: Iter<i32>, consumer: C) -> C::Result
where C: Consumer<i32>,

source§

fn len(iter: &Iter<i32>) -> usize

source§

fn with_producer<CB>(iter: Iter<i32>, callback: CB) -> CB::Output
where CB: ProducerCallback<i32>,

source§

impl IndexedRangeInteger for isize

source§

fn drive<C>(iter: Iter<isize>, consumer: C) -> C::Result
where C: Consumer<isize>,

source§

fn len(iter: &Iter<isize>) -> usize

source§

fn with_producer<CB>(iter: Iter<isize>, callback: CB) -> CB::Output

source§

impl IndexedRangeInteger for u8

source§

fn drive<C>(iter: Iter<u8>, consumer: C) -> C::Result
where C: Consumer<u8>,

source§

fn len(iter: &Iter<u8>) -> usize

source§

fn with_producer<CB>(iter: Iter<u8>, callback: CB) -> CB::Output
where CB: ProducerCallback<u8>,

source§

impl IndexedRangeInteger for u16

source§

fn drive<C>(iter: Iter<u16>, consumer: C) -> C::Result
where C: Consumer<u16>,

source§

fn len(iter: &Iter<u16>) -> usize

source§

fn with_producer<CB>(iter: Iter<u16>, callback: CB) -> CB::Output
where CB: ProducerCallback<u16>,

source§

impl IndexedRangeInteger for u32

source§

fn drive<C>(iter: Iter<u32>, consumer: C) -> C::Result
where C: Consumer<u32>,

source§

fn len(iter: &Iter<u32>) -> usize

source§

fn with_producer<CB>(iter: Iter<u32>, callback: CB) -> CB::Output
where CB: ProducerCallback<u32>,

source§

impl IndexedRangeInteger for usize

source§

fn drive<C>(iter: Iter<usize>, consumer: C) -> C::Result
where C: Consumer<usize>,

source§

fn len(iter: &Iter<usize>) -> usize

source§

fn with_producer<CB>(iter: Iter<usize>, callback: CB) -> CB::Output

Implementors§