Function icu_properties::sets::extender
source · pub const fn extender() -> CodePointSetDataBorrowed<'static>
Expand description
Characters whose principal function is to extend the value of a preceding alphabetic character or to extend the shape of adjacent characters.
✨ Enabled with the compiled_data
Cargo feature.
§Example
use icu::properties::sets;
let extender = sets::extender();
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