Function icu_properties::sets::bidi_mirrored
source · pub const fn bidi_mirrored() -> CodePointSetDataBorrowed<'static>
Expand description
Characters that are mirrored in bidirectional text
✨ Enabled with the compiled_data
Cargo feature.
§Example
use icu::properties::sets;
let bidi_mirrored = sets::bidi_mirrored();
assert!(bidi_mirrored.contains('['));
assert!(bidi_mirrored.contains(']'));
assert!(bidi_mirrored.contains('∑')); // U+2211 N-ARY SUMMATION
assert!(!bidi_mirrored.contains('ཉ')); // U+0F49 TIBETAN LETTER NYA