Function icu_properties::sets::join_control

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

Format control characters which have specific functions for control of cursive joining and ligation

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let join_control = sets::join_control();

assert!(join_control.contains32(0x200C));  // ZERO WIDTH NON-JOINER
assert!(join_control.contains32(0x200D));  // ZERO WIDTH JOINER
assert!(!join_control.contains32(0x200E));