Module widestring::ustr

source ·
Expand description

Wide string slices with undefined encoding.

This module contains wide string slices and related types.

Structs

A lossy iterator over the chars of a string slice, and their positions.
A lossy iterator over the chars of a string slice, and their positions.
An iterator over the decoded chars of a string slice, and their positions.
An iterator over the decoded chars of a string slice, and their positions.
A lossy iterator over UTF-16 decoded chars of a string slice.
A lossy iterator over UTF-32 decoded chars of a string slice.
An iterator over UTF-16 decoded chars of a string slice.
An iterator over UTF-32 decoded chars of a string slice.
Helper struct for printing wide string values with format! and {}.
16-bit wide string slice with undefined encoding.
32-bit wide string slice with undefined encoding.

Type Definitions

Alias for U16Str or U32Str depending on platform. Intended to match typical C wchar_t size on platform.