wiwi::prelude_std

Module 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 a &str from a pointer and a length.
  • from_raw_parts_mutExperimental
    Creates a &mut str from a pointer and a length.