[][src]Trait kl_hyphenate_commons::parse::Parse

pub trait Parse {
    type Tally: Eq;
    fn value(_: char) -> Option<u8>;
fn tally(_: &str) -> Self::Tally; fn alphabetical(s: &str) -> String { ... }
fn pair<N>(str_klp: &str, normalize: N) -> (String, Self::Tally)
    where
        N: Fn(&str) -> String
, { ... } }

Associated Types

type Tally: Eq

Loading content...

Required methods

fn value(_: char) -> Option<u8>

fn tally(_: &str) -> Self::Tally

Loading content...

Provided methods

fn alphabetical(s: &str) -> String

fn pair<N>(str_klp: &str, normalize: N) -> (String, Self::Tally) where
    N: Fn(&str) -> String

Loading content...

Implementors

impl<'a> Parse for kl_hyphenate_commons::dictionary::extended::Patterns[src]

type Tally = Tally

impl<'a> Parse for Exceptions[src]

type Tally = Vec<usize>

impl<'a> Parse for kl_hyphenate_commons::dictionary::Patterns[src]

type Tally = Vec<Locus>

Loading content...