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.

info is the result of calling process_text on text. line is a range of bytes indices within text.

Returns the line in display order.