Struct hyphenation::exception::Exceptions
[−]
[src]
pub struct Exceptions(pub HashMap<String, Vec<u32>>);
A specialized hash map of pattern-score pairs.
Methods
impl Exceptions
[src]
fn empty() -> Exceptions
Creates an empty Exceptions
map.
fn insert(&mut self, klpair: KLPair)
Inserts a Knuth-Liang exception pair into the map.
fn score(&self, word: &str) -> Option<&Vec<u32>>
Retrieves the score for each hyphenation point of word
.
Trait Implementations
impl Debug for Exceptions
[src]
impl Clone for Exceptions
[src]
fn clone(&self) -> Exceptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more