pub trait IndexicalIteratorExt<'a, T: IndexedValue + 'a, P: PointerFamily<'a>, M>: Iterator + Sized {
    // Provided method
    fn collect_indexical<B>(self, domain: &P::Pointer<IndexedDomain<T>>) -> B
       where B: FromIndexicalIterator<'a, T, P, M, Self::Item> { ... }
}
Expand description

Extension trait that adds collect_indexical to all iterators.

Provided Methods§

source

fn collect_indexical<B>(self, domain: &P::Pointer<IndexedDomain<T>>) -> Bwhere B: FromIndexicalIterator<'a, T, P, M, Self::Item>,

Like Iterator::collect, except also takes as input a domain.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, I: Iterator, T: IndexedValue + 'a, P: PointerFamily<'a>, M> IndexicalIteratorExt<'a, T, P, M> for I