Function icu_properties::sets::deprecated

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

Deprecated characters. No characters will ever be removed from the standard, but the usage of deprecated characters is strongly discouraged.

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let deprecated = sets::deprecated();

assert!(deprecated.contains('ឣ'));  // U+17A3 KHMER INDEPENDENT VOWEL QAQ
assert!(!deprecated.contains('A'));