Module widestring::ucstr

source ·
Expand description

C-style wide string slices.

This module contains wide C 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 C string values with format! and {}.
C-style 16-bit wide string slice for U16CString.
C-style 32-bit wide string slice for U32CString.

Type Definitions

Alias for U16CStr or U32CStr depending on platform. Intended to match typical C wchar_t size on platform.