icu_properties::sets

Function logical_order_exception

Source
pub const fn logical_order_exception() -> CodePointSetDataBorrowed<'static>
Expand description

A small number of spacing vowel letters occurring in certain Southeast Asian scripts such as Thai and Lao

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let logical_order_exception = sets::logical_order_exception();

assert!(logical_order_exception.contains('ແ'));  // U+0EC1 LAO VOWEL SIGN EI
assert!(!logical_order_exception.contains('ະ'));  // U+0EB0 LAO VOWEL SIGN A