Lines Matching refs:BidiClass
15 use unicode_bidi::{bidi_class, BidiClass};
157 BidiClass::L => { in passes_bidi()
162 BidiClass::L in passes_bidi()
163 | BidiClass::EN in passes_bidi()
164 | BidiClass::ES in passes_bidi()
165 | BidiClass::CS in passes_bidi()
166 | BidiClass::ET in passes_bidi()
167 | BidiClass::ON in passes_bidi()
168 | BidiClass::BN in passes_bidi()
169 | BidiClass::NSM in passes_bidi()
181 Some(c) if bidi_class(c) == BidiClass::NSM => { in passes_bidi()
191 Some(c) if bidi_class(c) == BidiClass::L || bidi_class(c) == BidiClass::EN => {} in passes_bidi()
200 BidiClass::R | BidiClass::AL => { in passes_bidi()
207 if char_class == BidiClass::EN { in passes_bidi()
209 } else if char_class == BidiClass::AN { in passes_bidi()
215 BidiClass::R in passes_bidi()
216 | BidiClass::AL in passes_bidi()
217 | BidiClass::AN in passes_bidi()
218 | BidiClass::EN in passes_bidi()
219 | BidiClass::ES in passes_bidi()
220 | BidiClass::CS in passes_bidi()
221 | BidiClass::ET in passes_bidi()
222 | BidiClass::ON in passes_bidi()
223 | BidiClass::BN in passes_bidi()
224 | BidiClass::NSM in passes_bidi()
235 Some(c) if bidi_class(c) == BidiClass::NSM => { in passes_bidi()
248 BidiClass::R | BidiClass::AL | BidiClass::EN | BidiClass::AN in passes_bidi()
579 BidiClass::R | BidiClass::AL | BidiClass::AN => return true, in is_bidi_domain()