Struct hyphenation::language::Corpus
[−]
[src]
pub struct Corpus { pub language: Language, pub patterns: Patterns, pub exceptions: Option<Exceptions>, pub left_min: usize, pub right_min: usize, }
A Corpus
carries hyphenation data and parameters.
It comprises the working language, the set of available patterns and exceptions, as well as the minimum number of characters which shall not be hyphenated from the beginning and end of a word.
Fields
language: Language
patterns: Patterns
exceptions: Option<Exceptions>
left_min: usize
right_min: usize
Trait Implementations
impl Debug for Corpus
[src]
impl Clone for Corpus
[src]
fn clone(&self) -> Corpus
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