Struct auto_correct::prelude::Config [−][src]
pub struct Config { /* fields omitted */ }
Methods
impl Config
[src]
impl Config
pub fn new() -> Config
[src]
pub fn new() -> Config
pub fn new_with_params(
max_edit: u8,
locale: SupportedLocale,
override_dict: &str
) -> Config
[src]
pub fn new_with_params(
max_edit: u8,
locale: SupportedLocale,
override_dict: &str
) -> Config
pub fn get_dict_path(&self) -> String
[src]
pub fn get_dict_path(&self) -> String
Trait Implementations
impl AutoCorrectConfig for Config
[src]
impl AutoCorrectConfig for Config
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_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_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
impl Clone for Config
[src]
impl Clone for Config