[][src]Trait unicode_normalization::UnicodeNormalization

pub trait UnicodeNormalization<I: Iterator<Item = char>> {
    fn nfd(self) -> Decompositions<I>

Notable traits for Decompositions<I>

impl<I: Iterator<Item = char>> Iterator for Decompositions<I> type Item = char;
;
fn nfkd(self) -> Decompositions<I>

Notable traits for Decompositions<I>

impl<I: Iterator<Item = char>> Iterator for Decompositions<I> type Item = char;
;
fn nfc(self) -> Recompositions<I>

Notable traits for Recompositions<I>

impl<I: Iterator<Item = char>> Iterator for Recompositions<I> type Item = char;
;
fn nfkc(self) -> Recompositions<I>

Notable traits for Recompositions<I>

impl<I: Iterator<Item = char>> Iterator for Recompositions<I> type Item = char;
;
fn stream_safe(self) -> StreamSafe<I>

Notable traits for StreamSafe<I>

impl<I: Iterator<Item = char>> Iterator for StreamSafe<I> type Item = char;
; }

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

Required methods

fn nfd(self) -> Decompositions<I>

Notable traits for Decompositions<I>

impl<I: Iterator<Item = char>> Iterator for Decompositions<I> type Item = char;

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

fn nfkd(self) -> Decompositions<I>

Notable traits for Decompositions<I>

impl<I: Iterator<Item = char>> Iterator for Decompositions<I> type Item = char;

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

fn nfc(self) -> Recompositions<I>

Notable traits for Recompositions<I>

impl<I: Iterator<Item = char>> Iterator for Recompositions<I> type Item = char;

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

fn nfkc(self) -> Recompositions<I>

Notable traits for Recompositions<I>

impl<I: Iterator<Item = char>> Iterator for Recompositions<I> type Item = char;

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

fn stream_safe(self) -> StreamSafe<I>

Notable traits for StreamSafe<I>

impl<I: Iterator<Item = char>> Iterator for StreamSafe<I> type Item = char;

An Iterator over the string with Conjoining Grapheme Joiner characters inserted according to the Stream-Safe Text Process (UAX15-D4)

Loading content...

Implementations on Foreign Types

impl<'a> UnicodeNormalization<Chars<'a>> for &'a str[src]

Loading content...

Implementors

impl<I: Iterator<Item = char>> UnicodeNormalization<I> for I[src]

Loading content...