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§
Sourcefn collect_indexical<B>(self, domain: &P::Pointer<IndexedDomain<T>>) -> Bwhere
B: FromIndexicalIterator<'a, T, P, M, Self::Item>,
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
.
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.