Expand description
UTF string slices.
This module contains UTF string slices and related types.
Structs§
- Char
Indices Utf16 - An iterator over the
chars of a string slice, and their positions - Char
Indices Utf32 - An iterator over the
chars of a string slice, and their positions - Chars
Utf16 - An iterator over the
chars of a UTF-16 string slice - Chars
Utf32 - An iterator over the
chars of a UTF-32 string slice - Code
Units - An iterator over the
u16code units of a UTF-16 string slice - Escape
Debug - The return type of
Utf16Str::escape_debug. - Escape
Default - The return type of
Utf16Str::escape_default. - Escape
Unicode - The return type of
Utf16Str::escape_unicode. - Lines
- An iterator over the lines of a
crate::Utf16Str,crate::Utf32Str, or other wide string that has the char_indices method. Returns string slices. - Utf16
Str - UTF-16 string slice for
Utf16String. - Utf32
Str - UTF-32 string slice for
Utf32String.
Type Aliases§
- Wide
UtfStr - Alias for
Utf16StrorUtf32Strdepending on platform. Intended to match typical Cwchar_tsize on platform.