pub fn itemize(
) -> Vec<Item>
Breaks a piece of text into segments with consistent
directional level and shaping engine. Each byte of
be contained in exactly one of the items in the returned list;
the generated list of items will be in logical order (the start
offsets of the items are ascending).
cached_iter should be an iterator over
attrs currently positioned at a
range before or containing
cached_iter will be advanced to
the range covering the position just after
(i.e. if itemizing in a loop, just keep passing in the same
a structure holding information that affects the itemization process.
the text to itemize. Must be valid UTF-8
first byte in
text to process
the number of bytes (not characters) to process
This must be >= 0.
the set of attributes that apply to
Cached attribute iterator, or
structures. The items should be freed using
probably in combination with
g_list_foreach(), and the list itself