Skip to main content

Module text

Module text 

Source

Macros§

unicode_length_type 🔒

Structs§

RangeAny
Equivalent to either Range, RangeTo, RangeFrom, or RangeFull
Utf8CodeUnits
A length or offset counted in 8-bit code units (bytes) in an UTF-8 string. This type is used to more reliable work with lengths or offsets in different encodings.
Utf16CodeUnits
A length or offset counted in 16-bit code units in an UTF-16 string. This type is used to more reliable work with lengths or offsets in different encodings.
Utf32CodeUnits
A length or offset counted in 32-bit code units in UTF-32. This is the same as counting Rust chars, Unicode scalar values, or Unicode code points. This type is used to more reliable work with lengths or offsets in different encodings.

Enums§

UnicodeBlock

Traits§

UnicodeBlockMethod

Functions§

is_bidi_control
is_cjk
len_utf16_for_utf8_byte 🔒
unicode_plane