Struct

std::iter::Chain

source

Re-exported from core::iter::Chain.

forall IA, IB.
exposed struct Chain {
    a: IA,
    b: IB,
    a_done: bool,
}

The first iterator's items, then the second's. Once the first has run out it is not pulled again (a_done).

Instances

instance Iterator[Chain[IA, IB] -> T]source

forall IA, IB, T where Iterator[IA -> T], Iterator[IB -> T].
instance Iterator[Chain[IA, IB] -> T] { ... }

In std::iter.

chain: the items of a, then those of b.