Trait rayon::par_iter::BoundedParallelIterator
[−]
[src]
pub trait BoundedParallelIterator: ParallelIterator { fn upper_bound(&mut self) -> usize; }
A trait for parallel iterators items where the precise number of items is not known, but we can at least give an upper-bound. These sorts of iterators result from filtering.
Required Methods
fn upper_bound(&mut self) -> usize
Implementors
impl<A, B> BoundedParallelIterator for ChainIter<A, B> where A: BoundedParallelIterator,
B: BoundedParallelIterator<Item=A::Item>impl<M> BoundedParallelIterator for Enumerate<M> where M: IndexedParallelIterator
impl<M, FILTER_OP> BoundedParallelIterator for Filter<M, FILTER_OP> where M: BoundedParallelIterator,
FILTER_OP: Fn(&M::Item) -> bool + Syncimpl<M, FILTER_OP, R> BoundedParallelIterator for FilterMap<M, FILTER_OP> where M: BoundedParallelIterator,
FILTER_OP: Fn(M::Item) -> Option<R> + Sync,
R: Sendimpl<U, BASE, IDENTITY, FOLD_OP> BoundedParallelIterator for Fold<BASE, IDENTITY, FOLD_OP> where BASE: BoundedParallelIterator,
FOLD_OP: Fn(U, BASE::Item) -> U + Sync,
IDENTITY: Fn() -> U + Sync,
U: Sendimpl<M> BoundedParallelIterator for Skip<M> where M: IndexedParallelIterator
impl<M> BoundedParallelIterator for Take<M> where M: IndexedParallelIterator
impl<'data, T: Sync + 'data> BoundedParallelIterator for SliceIter<'data, T>
impl<'data, T: Sync + 'data> BoundedParallelIterator for ChunksIter<'data, T>
impl<'data, T: Send + 'data> BoundedParallelIterator for SliceIterMut<'data, T>
impl<'data, T: Send + 'data> BoundedParallelIterator for ChunksMutIter<'data, T>
impl<M, MAP_OP> BoundedParallelIterator for Map<M, MAP_OP> where M: BoundedParallelIterator,
MAP_OP: MapOp<M::Item>impl<M: BoundedParallelIterator> BoundedParallelIterator for Weight<M>
impl<A, B> BoundedParallelIterator for ZipIter<A, B> where A: IndexedParallelIterator,
B: IndexedParallelIteratorimpl BoundedParallelIterator for RangeIter<u8>
impl BoundedParallelIterator for RangeIter<u16>
impl BoundedParallelIterator for RangeIter<u32>
impl BoundedParallelIterator for RangeIter<usize>
impl BoundedParallelIterator for RangeIter<i8>
impl BoundedParallelIterator for RangeIter<i16>
impl BoundedParallelIterator for RangeIter<i32>
impl BoundedParallelIterator for RangeIter<isize>
impl<T: Send> BoundedParallelIterator for VecIter<T>
impl<T: Send> BoundedParallelIterator for OptionIter<T>