Module text

Module text 

Source

Macros§

unicode_length_type 🔒

Structs§

Utf8CodeUnitLength
A length in code units of the given text encoding. For instance, Utf8CodeUnitLength is a length in UTF-8 code units (one byte each). Utf16CodeUnitLength is a length in UTF-16 code units (two bytes each). This type is used to more reliable work with lengths in different encodings.
Utf16CodeUnitLength
A length in code units of the given text encoding. For instance, Utf8CodeUnitLength is a length in UTF-8 code units (one byte each). Utf16CodeUnitLength is a length in UTF-16 code units (two bytes each). This type is used to more reliable work with lengths in different encodings.

Enums§

UnicodeBlock

Traits§

UnicodeBlockMethod

Functions§

is_bidi_control
is_cjk
unicode_plane