Module iterators

Module iterators 

Source

Functions§

collect_until
Gather the first N items, and provide the count of the remaining items. The max count cannot be zero as that’s a pathological case.
iterator_split
Given an iterator that’s cloneable, split it into two iterators at a given maximum number of elements.