pub trait ToCodePoint {
// Required method
fn to_code_point(&self) -> CodePoint;
}Expand description
Trait that convert type to CodePoint.
The source type should always in valid code point range.
Required Methods§
Sourcefn to_code_point(&self) -> CodePoint
fn to_code_point(&self) -> CodePoint
Creates new CodePoint struct from the source.