columnar

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§

Functions§

  • Chain two iterators together. The result first iterates over a, then b, until both are exhausted.
  • 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.