pub trait SpecificDerivedPropertyValue {
    fn on_spaces(&self) -> DerivedPropertyValue;
    fn on_symbols(&self) -> DerivedPropertyValue;
    fn on_punctuation(&self) -> DerivedPropertyValue;
    fn on_has_compat(&self) -> DerivedPropertyValue;
    fn on_other_letter_digits(&self) -> DerivedPropertyValue;
}
Expand description

Interface for specific classes to deal with specific Unicode code groups defined in RFC 8264. Next callbacks will be invoked to calculate the derived property according to the algorithm defined in rfc8264

Required Methods

Callback invoked when the Unicode code point belongs to Spaces

Callback invoked when the Unicode code point belongs to Symbols

Callback invoked when the Unicode code point belongs to Punctuation

Callback invoked when the Unicode code point belongs to HasCompat

Callback invoked when the Unicode code point belongs to OtherLetterDigits

Implementors