Module core::strUnstable
[-] [+]
[src]
String manipulation
For more details, see std::str
Structs
Bytes | External iterator for a string's bytes.
Use with the |
CharIndices | External iterator for a string's characters and their byte offsets.
Use with the |
CharRange | Struct that contains a |
Chars | Iterator for the char (representing Unicode Scalar Values) of a string |
Lines | An iterator over the lines of a string, separated by |
LinesAny | An iterator over the lines of a string, separated by either |
MatchIndices | An iterator over the start and end indices of the matches of a substring within a larger string |
ParseBoolError | An error returned when parsing a |
RSplitN | Return type of |
Split | Return type of |
SplitN | Return type of |
SplitStr | An iterator over the substrings of a string separated by a given search string |
SplitTerminator | Return type of |
Enums
Utf8Error | Errors which can occur when attempting to interpret a byte slice as a |
Traits
CharEq | Something that can be used to compare against a character |
FromStr | A trait to abstract the idea of creating a new instance of a type from a string. |
Str | Any string that can be represented as a slice |
StrExt | Methods for string slices |
Functions
char_range_at_raw | Pluck a code point out of a UTF-8-like byte slice and return the index of the next code point. |
from_c_str | Constructs a static string slice from a given raw pointer. |
from_utf8 | Converts a slice of bytes to a string slice without performing any allocations. |
from_utf8_unchecked | Converts a slice of bytes to a string slice without checking that the string contains valid UTF-8. |
next_code_point | Reads the next code point out of a byte iterator (assuming a UTF-8-like encoding). |