pub trait CombiningClassFunc {
// Required method
fn combining_class(&self, ch: char) -> u8;
}
Expand description
An object to map from code points to combining classes.
Required Methods§
Sourcefn combining_class(&self, ch: char) -> u8
fn combining_class(&self, ch: char) -> u8
Given a code point, return the combining class as a u8
corresponding to a
hb_unicode_combining_class_t
. Note that the
Unicode stability policy
guarantees that Canonical Combining Class numeric values fit in a u8
.