pub trait GeneralCategoryFunc {
// Required method
fn general_category(&self, ch: char) -> GeneralCategory;
}
Expand description
An object to map from code points to general category properties.
Required Methods§
Sourcefn general_category(&self, ch: char) -> GeneralCategory
fn general_category(&self, ch: char) -> GeneralCategory
Given a code point, return the general category as a GeneralCategory
.