unicode_bidi::level

Function has_rtl

Source
pub fn has_rtl(levels: &[Level]) -> bool
Expand description

If levels has any RTL (odd) level

This information is usually used to skip re-ordering of text when no RTL level is present