Trait rayon::range_inclusive::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 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>,

Implementors§