pub fn load_extender(
    provider: &impl DataProvider<ExtenderV1Marker>
) -> Result<CodePointSetData, PropertiesError>
Expand description

Characters whose principal function is to extend the value of a preceding alphabetic character or to extend the shape of adjacent characters.


use icu_properties::sets;

let data =
        .expect("The data should be valid");
let extender = data.as_borrowed();

assert!(extender.contains('ヾ'));  // U+30FE KATAKANA VOICED ITERATION MARK
assert!(extender.contains('ー'));  // U+30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK
assert!(!extender.contains('・'));  // U+30FB KATAKANA MIDDLE DOT