core

Module str

1.6.0 · source
Expand description

String manipulation.

For more details, see the std::str module.

Modules§

  • patternExperimental
    The string Pattern API.

Structs§

Traits§

Functions§

  • Converts a slice of bytes to a string slice.
  • Converts a mutable slice of bytes to a mutable string slice.
  • Converts a slice of bytes to a string slice without checking that the string contains valid UTF-8.
  • Converts a slice of bytes to a string slice without checking that the string contains valid UTF-8; mutable version.
  • from_raw_partsExperimental
    Creates a &str from a pointer and a length.
  • from_raw_parts_mutExperimental
    Creates a &mut str from a pointer and a length.
  • next_code_pointExperimental
    Reads the next code point out of a byte iterator (assuming a UTF-8-like encoding).
  • utf8_char_widthExperimental
    Given a first byte, determines how many bytes are in this UTF-8 character.