Module chain_mod

Source
Expand description

Chain iterators, or iterators and an item. Iterators that might improve inlining, at the expense of not providing iterator maker traits.

Structs§

Chain
ChainOne

Functions§

chain
Chain two iterators together. The result first iterates over a, then b, until both are exhausted.
chain_one
Chain a single item to an iterator. The resulting iterator first iterates over a, then b. The resulting iterator is marked as #[inline(always)], which in some situations causes better inlining behavior with current Rust versions.