Expand description
String manipulation.
For more details, see the std::str module.
Re-exports§
pub use converts::from_utf8;pub use converts::from_utf8_unchecked;pub use converts::from_utf8_mut;pub use converts::from_utf8_unchecked_mut;pub use error::ParseBoolError;pub use error::Utf8Error;pub use iter::EncodeUtf16;pub use iter::LinesAny;Deprecated pub use iter::SplitAsciiWhitespace;pub use iter::SplitInclusive;pub use iter::Bytes;pub use iter::CharIndices;pub use iter::Chars;pub use iter::Lines;pub use iter::SplitWhitespace;pub use iter::EscapeDebug;pub use iter::EscapeDefault;pub use iter::EscapeUnicode;pub use iter::MatchIndices;pub use iter::RMatchIndices;pub use iter::Matches;pub use iter::RMatches;pub use iter::RSplit;pub use iter::RSplitTerminator;pub use iter::Split;pub use iter::SplitTerminator;pub use iter::RSplitN;pub use iter::SplitN;pub use lossy::Utf8Chunk;pub use lossy::Utf8Chunks;pub use traits::FromStr;pub use converts::from_raw_parts;Experimental pub use converts::from_raw_parts_mut;Experimental pub use validations::next_code_point;Experimental pub use validations::utf8_char_width;Experimental
Modules§
- converts 🔒
- Ways to create a
strfrom bytes slice. - count 🔒
- Code for efficiently counting the number of
chars in a UTF-8 encoded string. - error 🔒
- Defines utf8 error type.
- iter 🔒
- Iterators for
strmethods. - lossy 🔒
- traits 🔒
- Trait implementations for
str. - validations 🔒
- Operations related to UTF-8 validation.
- pattern
Experimental - The string Pattern API.
Structs§
- Bytes
IsNot 🔒Empty - Char
Escape 🔒Debug Continue - Char
Escape 🔒Default - Char
Escape 🔒Unicode - IsAscii
Whitespace 🔒 - IsNot
Empty 🔒 - IsWhitespace 🔒
- Lines
Map 🔒 - A nameable, cloneable fn type
- Unsafe
Bytes 🔒ToStr
Functions§
- slice_
error_ 🔒fail Non- panic=immediate-abort - slice_
error_ 🔒fail_ ct - slice_
error_ 🔒fail_ rt