Module std::str
[−]
[src]
Unicode string slices
Modules
pattern |
[Unstable] The string Pattern API. |
Structs
Bytes |
External iterator for a string's bytes.
Use with the |
CharIndices |
Iterator for a string's characters and their byte offsets. |
Chars |
Iterator for the char (representing Unicode Scalar Values) of a string |
Lines |
Created with the method |
LinesAny |
[Deprecated] Created with the method |
MatchIndices |
Created with the method |
Matches |
Created with the method |
ParseBoolError |
An error returned when parsing a |
RMatchIndices |
Created with the method |
RMatches |
Created with the method |
RSplit |
Created with the method |
RSplitN |
Created with the method |
RSplitTerminator |
Created with the method |
Split |
Created with the method |
SplitN |
Created with the method |
SplitTerminator |
Created with the method |
SplitWhitespace |
An iterator over the non-whitespace substrings of a string, separated by any amount of whitespace. |
Utf8Error |
Errors which can occur when attempting to interpret a sequence of |
CharRange |
[Unstable] Struct that contains a |
Utf16Units |
[Unstable] External iterator for a string's UTF-16 code units. |
Traits
FromStr |
A trait to abstract the idea of creating a new instance of a type from a string. |
Functions
from_utf8 |
Converts a slice of bytes to a string slice. |
from_utf8_unchecked |
Converts a slice of bytes to a string slice without checking that the string contains valid UTF-8. |