Function unicode_bidi::reorder_line
[−]
[src]
pub fn reorder_line<'a>(text: &'a str, line: Range<usize>, levels: &[u8]) -> Cow<'a, str>
Re-order a line based on resolved levels.
levels
are the embedding levels returned by process_text
.
line
is a range of bytes indices within text
.
Returns the line in display order.