std/norm
On this page
Index
- type
Form - fn
unicode_version - fn
normalize - fn
is_normalized
Types
Form
enum Form {
Nfc
Nfd
Nfkc
Nfkd
} derive DisplayA normalization form.
Functions
unicode_version
fn unicode_version() -> StrThe Unicode version of the tables (15.0.0).
normalize
fn normalize(s: Str, f: Form) -> Strs in the form f (Form.String). ASCII text is returned as it is.
is_normalized
fn is_normalized(s: Str, f: Form) -> BoolWhether s is already in the form f (Form.IsNormalString).
↑ index