Function unicode_bidi::reorder_line
[−]
[src]
pub fn reorder_line<'a>(paragraph: &'a str, line: Range<usize>, info: &ParagraphInfo) -> Cow<'a, str>
Re-order a line based on resolved levels.
info
is the result of calling process_paragraph
on paragraph
.
line
is a range of bytes indices within paragraph
.
Returns the line in display order.