Available on crate feature
blob only.Structs
- A
TokenSourcethat returns the lines of a byte slice as tokens. Seebyte_linesandbyte_lines_with_terminatorfor details - A
TokenSourcethat returns the lines of astras tokens. Seelinesandlines_with_terminatorfor details
Functions
- Returns a
TokenSourcethat uses the lines indataas Tokens. The newline seperator (\r\nor\n) is included in the emitted tokens. This means that changing the newline seperator from\r\nto\n(or omitting it fully on the last line) is detected bydiff. - Returns a
TokenSourcethat uses the lines indataas Tokens. A lines is a continous subslice ofdatawhich does not contain\n(or\r\n). The newline seperator (\r\nor\n) is not included in the emitted tokens. This means that changing the newline seperator from\r\nto\n(or omitting it fully on the last line) is not detected bydiff. - Returns a
TokenSourcethat uses the lines indataas Tokens. The newline seperator (\r\nor\n) is not included in the emitted tokens. This means that changing the newline seperator from\r\nto\n(or omitting it fully on the last line) is not detected bydiff. - Returns a
TokenSourcethat uses the lines indataas Tokens. The newline seperator (\r\nor\n) is included in the emitted tokens. This means that changing the newline seperator from\r\nto\n(or omitting it fully on the last line) is detected bydiff.