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 applicable patterns and exceptions, as well as the left and right intra-word hyphenation boundaries.

Fields

language: Language patterns: Patterns exceptions: Option<Exceptions> left_min: usize right_min: usize

Trait Implementations

impl Debug for Corpus
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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