Trait zng::font::HyphenationDataSource

source ·
pub trait HyphenationDataSource: Send + 'static {
    // Required method
    fn load(&mut self, lang: Language) -> Option<Standard>;
}
Expand description

Represents a hyphenation dictionary source.

The data source must be registered in HYPHENATION.init_data_source.

Required Methods§

source

fn load(&mut self, lang: Language) -> Option<Standard>

Load the dictionary for the lang.

Implementors§