Function unicode_bidi::process_text [] [src]

pub fn process_text(text: &str, level: Option<u8>) -> BidiInfo

Determine the bidirectional embedding levels for a single paragraph.

TODO: In early steps, check for special cases that allow later steps to be skipped. like text that is entirely LTR. See the nsBidi class from Gecko for comparison.