Expand description
Iterators for str methods.
Macros
- This macro generates a Clone impl for string pattern API wrapper types of the form X<’a, P>
- This macro generates two public iterator structs wrapping a private internal one that makes use of the
PatternAPI.
Structs
- An iterator over the bytes of a string slice.
- An iterator over the
chars of a string slice, and their positions. - An iterator over the
chars of a string slice. - An iterator of
u16over the string encoded as UTF-16. - The return type of
str::escape_debug. - The return type of
str::escape_default. - The return type of
str::escape_unicode. - An iterator over the lines of a string, as string slices.
- LinesAnyDeprecatedCreated with the method
lines_any. - Created with the method
match_indices. - Created with the method
matches. - Created with the method
rmatch_indices. - Created with the method
rmatches. - Created with the method
rsplit. - Created with the method
rsplitn. - Created with the method
rsplit_terminator. - Created with the method
split. - An iterator over the non-ASCII-whitespace substrings of a string, separated by any amount of ASCII whitespace.
- An iterator over the substrings of a string, terminated by a substring matching to a predicate function Unlike
Split, it contains the matched part as a terminator of the subslice. - Created with the method
splitn. - Created with the method
split_terminator. - An iterator over the non-whitespace substrings of a string, separated by any amount of whitespace.