Module unicode

Module unicode 

Source
Expand description

Everything related to Unicode lives here.

Structs§

Cursor
Stores a position inside a ReadableDocument.
MeasurementConfig
Your entrypoint to navigating inside a ReadableDocument.
Utf8Chars
An iterator over UTF-8 encoded characters.

Functions§

setup_ambiguous_width
Sets the width of “ambiguous” width characters as per “UAX #11: East Asian Width”.
skip_newline
Returns an offset past a newline.
strip_newline
Strips a trailing newline from the given text.