1 2 3 4 5 6 7 8 9 10 11 12 13
//! RTL (Right-to-Left) and BiDi (Bidirectional) text support //! //! Implements Unicode Bidirectional Algorithm (UAX #9) for proper handling //! of mixed-direction text, including Arabic, Hebrew, and other RTL scripts. mod helpers; mod types; pub use helpers::{contains_rtl, detect_direction, is_rtl_char, mirror_char, reverse_graphemes}; pub use types::{ BidiClass, BidiConfig, BidiInfo, BidiRun, ResolvedDirection, RtlLayout, TextAlign, TextDirection, };