indexical

Trait IndexicalIteratorExt

Source
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>>) -> B
where B: FromIndexicalIterator<'a, T, P, M, Self::Item>,

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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