std.iter [x] std.iter.RangeIter pub struct RangeIter { cur: int, stop: int, } — A half-open integer range [cur, stop) stepped by next. std.iter.range_iter pub fn range_iter(start: int, stop: int) -> RangeIter — A fresh iterator over start..stop (half-open; empty when start >= stop). std.iter.range_next pub fn range_next(mut it: RangeIter) -> int ! {done} — The next element of the range, advancing the iterator; done when exhausted — the row is the end signal, consumed by else. std.iter.ListCursor pub struct ListCursor { xs: List[int], i: int, } — A cursor over an owned List[int], consumed at construction. std.iter.list_cursor pub fn list_cursor(take xs: List[int]) -> ListCursor — A fresh cursor over xs, which the cursor consumes (take — the caller is done with the list; X1 true consumption). std.iter.list_next pub fn list_next(mut c: ListCursor) -> int ! {done} — The next element of the list, advancing the cursor; done when exhausted — the row is the end signal, consumed by else.