pub fn load_default_ignorable_code_point(
    provider: &impl DataProvider<DefaultIgnorableCodePointV1Marker>
) -> Result<CodePointSetData, PropertiesError>
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.

Example

use icu_properties::sets;

let data =
    sets::load_default_ignorable_code_point(&icu_testdata::unstable())
        .expect("The data should be valid");
let default_ignorable_code_point = data.as_borrowed();

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