Skip to main content

Module utf16

Module utf16 

Source
Expand description

Types for UTF-16 code unit sequences and their parts.

Structs§

Bmp
A single-code-unit UTF-16 sequence representing a (non-surrogate) character in the Basic Multilingual Plane.
HighSurrogate
A high surrogate
LowSurrogate
A low surrogate
Surrogate
A single surrogate code unit, which can be a high surrogate or a low surrogate
SurrogatePair
A two-code-unit UTF-16 sequence
Utf16CodeUnitError
A type for signaling UTF-16 errors.

Enums§

BmpOrSurrogate
Type for categorizing code units as either non-surrogates or surrogates.

Traits§

Utf16CodeUnitSequence
Common output conversions for both UTF-16 code unit sequences.