Module iter
SourceDescription
Lazy iteration protocol and adapter types.
Defines the Iterator trait (the @lang(iterator) item) and two concrete wrapper records: CharsIter for Str codepoint iteration and Peekable for one-slot lookahead over any underlying Iterator.
Data Types
Records
- CharsIter
Lazy character iterator over a Str.
Abstractions
Functions
Functions
- chars-iter
Construct a
CharsIterover the givenStr, starting at position 0.