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