pub trait FromIndexicalIterator<'a, T: IndexedValue + 'a, P: PointerFamily<'a>, M, A>: Sized {
    // Required method
    fn from_indexical_iter(
        iter: impl Iterator<Item = A>,
        domain: &P::Pointer<IndexedDomain<T>>
    ) -> Self;
}
Expand description

Generic interface for converting iterators into indexical collections.

Required Methods§

source

fn from_indexical_iter( iter: impl Iterator<Item = A>, domain: &P::Pointer<IndexedDomain<T>> ) -> Self

Converts an iterator into a collection within the given domain.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, T, U, S, M, P> FromIndexicalIterator<'a, T, P, M, U> for IndexSet<'a, T, S, P>where T: IndexedValue + 'a, S: BitSet, P: PointerFamily<'a>, U: ToIndex<T, M>,