Function icu::properties::sets::bidi_control

source ·
pub const fn bidi_control() -> CodePointSetDataBorrowed<'static>
Expand description

Format control characters which have specific functions in the Unicode Bidirectional Algorithm

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let bidi_control = sets::bidi_control();

assert!(bidi_control.contains32(0x200F));  // RIGHT-TO-LEFT MARK
assert!(!bidi_control.contains('ش'));  // U+0634 ARABIC LETTER SHEEN