std::str

This module is used for Unicode string slices.

Structs, Traits, and Enums

  • StructsBytes (iterator for a strings bytes), CharIndices (iterator for a string's characters and byte offsets), Chars (iterator for the char of a string), EncodeUtf16 (external iterator for a string's UTF16 code), Lines (created with lines()), MatchIndices (created with match_indices()), Matches (created with matches()), ParseBoolError (error returned when passing a bool from a string fail), RMatchIndicies (created with rmatch_indicies()), RMatches (created with rmatches()), RSplit (created with rsplit()), RSplitN (created with rsplitn()), RSplitTerminator (created with rsplit_terminator()), Split (created with split()), SplitN (created with splitn()), SplitTerminator (created with split_terminator()), SplitWhitespace (iterates over the non-whitespace substrings of a string), and Utf8Error (error that can occur when attempting to interpret a sequence of u8 as a string)
  • TraitFromStr (abstracts the idea of creating a new instance of a type from a string)
  • Functionsfrom_utf8 (converts a slice of bytes to a string slice) and from_utf8_unchecked (as with from_utf8 without checking the string contains valid UTF8)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset