Module icu_segmenter::line
source ยท Structsยง
- Implements the
Iterator
trait over the line break opportunities of the given string. - Options to tailor line-breaking behavior.
- Supports loading line break data, and creating line break iterators for different string encodings.
Enumsยง
- An enum specifies the strictness of line-breaking rules. It can be passed as an argument when creating a line segmenter.
- An enum specifies the line break opportunities between letters. It can be passed as an argument when creating a line segmenter.
Constantsยง
- AI ๐
- AL ๐
- B2 ๐
- BA ๐
- BB ๐
- BK ๐
- CB ๐
- CJ ๐
- CL ๐
- CM ๐
- CP ๐
- CR ๐
- EB ๐
- EM ๐
- EX ๐
- GL ๐
- H2 ๐
- H3 ๐
- HL ๐
- HY ๐
- ID ๐
- ID_CN ๐
- IN ๐
- IS ๐
- JL ๐
- JT ๐
- JV ๐
- LF ๐
- NL ๐
- NS ๐
- NU ๐
- OP_EA ๐
- OP_OP30 ๐
- PO ๐
- PO_EAW ๐
- PR ๐
- PR_EAW ๐
- QU ๐
- RI ๐
- SA ๐
- SG ๐
- SP ๐
- SY ๐
- UNKNOWN ๐
- WJ ๐
- XX ๐
- ZW ๐
- ZWJ ๐
Traitsยง
- A trait allowing for LineBreakIterator to be generalized to multiple string iteration methods.
Functionsยง
- handle_complex_language impl for UTF8 iterators
Type Aliasesยง
- Line break iterator for a Latin-1 (8-bit) string.
- Line break iterator for a potentially invalid UTF-8 string.
- Line break iterator for an
str
(a UTF-8 string). - Line break iterator for a UTF-16 string.