Struct auto_correct::AutoCorrect [−][src]
pub struct AutoCorrect { /* fields omitted */ }
Methods
impl AutoCorrect
[src]
impl AutoCorrect
pub fn new() -> AutoCorrect
[src]
pub fn new() -> AutoCorrect
pub fn new_with_config(config: Config) -> AutoCorrect
[src]
pub fn new_with_config(config: Config) -> AutoCorrect
pub fn candidates(&self, word: String) -> Vec<Candidate>
[src]
pub fn candidates(&self, word: String) -> Vec<Candidate>
pub fn candidates_async(&self, word: String, tx: Sender<Candidate>)
[src]
pub fn candidates_async(&self, word: String, tx: Sender<Candidate>)
Trait Implementations
impl AutoCorrectConfig for AutoCorrect
[src]
impl AutoCorrectConfig for AutoCorrect
fn set_max_edit(&mut self, max_edit: u8)
[src]
fn set_max_edit(&mut self, max_edit: u8)
fn get_max_edit(&self) -> u8
[src]
fn get_max_edit(&self) -> u8
fn set_locale(&mut self, locale: SupportedLocale)
[src]
fn set_locale(&mut self, locale: SupportedLocale)
fn get_locale(&self) -> SupportedLocale
[src]
fn get_locale(&self) -> SupportedLocale
fn set_override_dict(&mut self, dict_path: &str)
[src]
fn set_override_dict(&mut self, dict_path: &str)
fn get_override_dict(&self) -> String
[src]
fn get_override_dict(&self) -> String
Auto Trait Implementations
impl Send for AutoCorrect
impl Send for AutoCorrect
impl Sync for AutoCorrect
impl Sync for AutoCorrect