Trait harper_core::Dictionary
source · pub trait Dictionary: Send + Sync + Clone {
// Required methods
fn contains_word(&self, word: &[char]) -> bool;
fn words_iter(&self) -> impl Iterator<Item = &[char]>;
fn words_with_len_iter(
&self,
len: usize
) -> Box<dyn Iterator<Item = &[char]> + '_>;
}
Required Methods§
fn contains_word(&self, word: &[char]) -> bool
fn words_iter(&self) -> impl Iterator<Item = &[char]>
Object Safety§
This trait is not object safe.