Structs§
- Line
- Newline
With Trailing Newline - Like
UniversalNewlineIterator, but includes a trailing newline as an empty line. - Universal
Newline Iterator - Like
str, but accommodates LF, CRLF, and CR line endings, the latter of which are not supported bystr.
Enums§
- Line
Ending - The line ending style used in Python source code. See https://docs.python.org/3/reference/lexical_analysis.html#physical-lines
Traits§
- StrExt
- Extension trait for
strthat provides aUniversalNewlineIterator.
Functions§
- find_
newline - Finds the next newline character. Returns its position and the
LineEnding.