pub struct WordDictionaryConfig {
pub system: WordDictionaryMode,
pub user: Option<WordDictionaryMode>,
}Fields§
§system: WordDictionaryMode§user: Option<WordDictionaryMode>Implementations§
source§impl WordDictionaryConfig
impl WordDictionaryConfig
pub fn get_word(&self, token: &Token<'_>) -> JPreprocessResult<WordEntry>
Trait Implementations§
source§impl Clone for WordDictionaryConfig
impl Clone for WordDictionaryConfig
source§fn clone(&self) -> WordDictionaryConfig
fn clone(&self) -> WordDictionaryConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for WordDictionaryConfig
impl Debug for WordDictionaryConfig
impl Copy for WordDictionaryConfig
Auto Trait Implementations§
impl RefUnwindSafe for WordDictionaryConfig
impl Send for WordDictionaryConfig
impl Sync for WordDictionaryConfig
impl Unpin for WordDictionaryConfig
impl UnwindSafe for WordDictionaryConfig
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