pub struct StaticLexicon;Expand description
Static lexicon implementation using compile-time generated data
Trait Implementations§
Source§impl LexiconTrait for StaticLexicon
impl LexiconTrait for StaticLexicon
fn lookup_verb(&self, word: &str) -> Option<VerbMetadata>
fn lookup_noun(&self, word: &str) -> Option<NounMetadata>
fn lookup_adjective(&self, word: &str) -> Option<AdjectiveMetadata>
Auto Trait Implementations§
impl Freeze for StaticLexicon
impl RefUnwindSafe for StaticLexicon
impl Send for StaticLexicon
impl Sync for StaticLexicon
impl Unpin for StaticLexicon
impl UnsafeUnpin for StaticLexicon
impl UnwindSafe for StaticLexicon
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