pub struct CodebookConfigMemory { /* private fields */ }Implementations§
Trait Implementations§
Source§impl CodebookConfig for CodebookConfigMemory
impl CodebookConfig for CodebookConfigMemory
fn add_word(&self, word: &str) -> Result<bool, Error>
fn add_word_global(&self, word: &str) -> Result<bool, Error>
fn add_ignore(&self, file: &str) -> Result<bool, Error>
fn get_dictionary_ids(&self) -> Vec<String>
fn should_ignore_path(&self, path: &Path) -> bool
fn is_allowed_word(&self, word: &str) -> bool
fn should_flag_word(&self, word: &str) -> bool
fn get_ignore_patterns(&self) -> Option<Vec<Regex>>
fn get_min_word_length(&self) -> usize
fn cache_dir(&self) -> &Path
Source§impl Debug for CodebookConfigMemory
impl Debug for CodebookConfigMemory
Auto Trait Implementations§
impl !Freeze for CodebookConfigMemory
impl RefUnwindSafe for CodebookConfigMemory
impl Send for CodebookConfigMemory
impl Sync for CodebookConfigMemory
impl Unpin for CodebookConfigMemory
impl UnwindSafe for CodebookConfigMemory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more