Module no_std_compat::str

1.0.0 · source ·
Expand description

Utilities for the str primitive type.

See also the str primitive type.

Modules§

  • patternExperimental
    The string Pattern API.

Structs§

Traits§

Functions§

  • Converts a boxed slice of bytes to a boxed string slice without checking that the string contains valid UTF-8.
  • 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 an &str from a pointer and a length.
  • from_raw_parts_mutExperimental
    Creates an &mut str from a pointer and a length.