unicode_bidi

Module utf16

source

Structsยง

  • Bidi information of the text (UTF-16 version).
  • Initial bidi information of the text (UTF-16 version).
  • Contains a reference of BidiInfo and one of its paragraphs. And it supports all operation in the Paragraph that needs also its BidiInfo such as direction.
  • Bidi information of text treated as a single paragraph.
  • Iterator over UTF-16 text in a u16 slice, returning (index, char) tuple.
  • Iterator over UTF-16 text in a u16 slice, returning Unicode chars. (Unlike the other iterators above, this also supports reverse iteration.)
  • Iterator over UTF-16 text in a u16 slice, returning (index, char_len) tuple.