Home
last modified time | relevance | path

Searched refs:is_rtl (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/unicode-bidi/src/
Dlevel.rs111 pub fn is_rtl(&self) -> bool { in is_rtl() method
185 if self.is_rtl() { in bidi_class()
202 levels.iter().any(|&lvl| lvl.is_rtl()) in has_rtl()
274 assert_eq!(Level(0).is_rtl(), false); in test_is_rtl()
275 assert_eq!(Level(1).is_rtl(), true); in test_is_rtl()
276 assert_eq!(Level(10).is_rtl(), false); in test_is_rtl()
277 assert_eq!(Level(11).is_rtl(), true); in test_is_rtl()
278 assert_eq!(Level(124).is_rtl(), false); in test_is_rtl()
279 assert_eq!(Level(125).is_rtl(), true); in test_is_rtl()
Dexplicit.rs14 use super::char_data::{BidiClass, is_rtl};
59 let new_level = if is_rtl(original_classes[i]) { in compute()
Dimplicit.rs209 match (levels[i].is_rtl(), original_classes[i]) { in resolve_levels()
Dlib.rs343 if levels[run.start].is_rtl() { in reorder_line()
/external/rust/crates/unicode-bidi/src/char_data/
Dmod.rs27 pub fn is_rtl(bidi_class: BidiClass) -> bool { in is_rtl() function