Expand description
String manipulation.
For more details, see the std::str module.
Modules§
- pattern
Experimental - The string Pattern API.
Structs§
- Chars
- An iterator over the
chars of a string slice. - Utf8
Error - Errors which can occur when attempting to interpret a sequence of
u8as a string.
Traits§
- FromStr
- Parse a value from a string
Functions§
- from_
utf8 - Converts a slice of bytes to a string slice.
- from_
utf8_ mut - Converts a mutable slice of bytes to a mutable string slice.
- from_
utf8_ ⚠unchecked - Converts a slice of bytes to a string slice without checking that the string contains valid UTF-8.
- from_
utf8_ ⚠unchecked_ mut - Converts a slice of bytes to a string slice without checking that the string contains valid UTF-8; mutable version.
- next_
code_ ⚠point Experimental - Reads the next code point out of a byte iterator (assuming a UTF-8-like encoding).
- utf8_
char_ width Experimental - Given a first byte, determines how many bytes are in this UTF-8 character.