Trait unicode_normalization::UnicodeNormalization [] [src]

pub trait UnicodeNormalization<I: Iterator<Item=char>> {
    fn nfd(self) -> Decompositions<I>;
    fn nfkd(self) -> Decompositions<I>;
    fn nfc(self) -> Recompositions<I>;
    fn nfkc(self) -> Recompositions<I>;
}

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

Required Methods

Returns an iterator over the string in Unicode Normalization Form D (canonical decomposition).

Returns an iterator over the string in Unicode Normalization Form KD (compatibility decomposition).

An Iterator over the string in Unicode Normalization Form C (canonical decomposition followed by canonical composition).

An Iterator over the string in Unicode Normalization Form KC (compatibility decomposition followed by canonical composition).

Implementors