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<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 + Sync
impl<M, FILTER_OP, R> BoundedParallelIterator for FilterMap<M, FILTER_OP> where M: BoundedParallelIterator, FILTER_OP: Fn(M::Item) -> Option<R> + Sync, R: Send
impl<'data, T: Sync + 'data> BoundedParallelIterator for SliceIter<'data, T>
impl<'data, T: Send + 'data> BoundedParallelIterator for SliceIterMut<'data, T>
impl<M, MAP_OP, R> BoundedParallelIterator for Map<M, MAP_OP> where M: BoundedParallelIterator, MAP_OP: Fn(M::Item) -> R + Sync, R: Send
impl<M: BoundedParallelIterator> BoundedParallelIterator for Weight<M>
impl<A, B> BoundedParallelIterator for ZipIter<A, B> where A: IndexedParallelIterator, B: IndexedParallelIterator
impl 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>