1.0.0[−][src]Module alloc::str
String manipulation
For more details, see std::str
Modules
| lossy | [ Experimental ] |
| pattern | [ Experimental ] The string Pattern API. |
Structs
| Bytes | An iterator over the bytes of a string slice. |
| CharIndices | An iterator over the |
| Chars | An iterator over the |
| EncodeUtf16 | An iterator of |
| Lines | An iterator over the lines of a string, as string slices. |
| 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 |
| SplitAsciiWhitespace | [ Experimental ] An iterator over the non-ASCII-whitespace substrings of a string, separated by any amount of ASCII whitespace. |
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_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. |