[][src]Crate unic_normal

UNIC — Unicode Normalization Forms

A component of unic: Unicode and Internationalization Crates for Rust.

This UNIC component implements algorithms from Unicode Standard Annex #15 - Unicode Normalization Forms.

extern crate unic_normal;

use unic_normal::StrNormalForm;

fn main() {
    let s = "ÅΩ";
    let c = s.nfc().collect::<String>();
    assert_eq!(c, "ÅΩ");
}

Structs

Decompositions

External iterator for a string decomposition's characters.

Recompositions

External iterator for a string recomposition's characters.

Constants

PKG_DESCRIPTION

UNIC component description.

PKG_NAME

UNIC component name.

PKG_VERSION

UNIC component version.

UNICODE_VERSION

The Unicode version of data

Traits

StrNormalForm

Methods for iterating over strings while applying Unicode normalizations as described in Unicode Standard Annex #15.