Function icu_properties::sets::default_ignorable_code_point

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

For programmatic determination of default ignorable code points. New characters that should be ignored in rendering (unless explicitly supported) will be assigned in these ranges, permitting programs to correctly handle the default rendering of such characters when not otherwise supported.

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let default_ignorable_code_point = sets::default_ignorable_code_point();

assert!(default_ignorable_code_point.contains32(0x180B));  // MONGOLIAN FREE VARIATION SELECTOR ONE
assert!(!default_ignorable_code_point.contains('E'));