Struct hyphenation::Exceptions [] [src]

pub struct Exceptions(pub HashMap<String, Vec<usize>, RandomState>);

A specialized hash map of pattern-score pairs.

Trait Implementations

impl Deserialize for Exceptions
[src]

impl Serialize for Exceptions
[src]

impl<'a> KLPTrie<'a> for Exceptions
[src]

Creates an empty Exceptions map.

Inserts a Knuth-Liang exception pair into the map.

If the pattern already exists, the old score is returned; if not, None is.

Retrieves the score for each hyphenation point of word.

impl Debug for Exceptions
[src]

Formats the value using the given formatter.

impl Clone for Exceptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more