Module str

Module str 

1.6.0 · Source
Expand description

String manipulation.

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

Structs§

Utf8Errorferrocene_certified
Errors which can occur when attempting to interpret a sequence of u8 as a string.

Functions§

from_utf8
Converts a slice of bytes to a string slice.
from_utf8_unchecked
Converts a slice of bytes to a string slice without checking that the string contains valid UTF-8.
utf8_char_widthExperimentalferrocene_certified
Given a first byte, determines how many bytes are in this UTF-8 character.