Trait typos::Dictionary [−][src]
pub trait Dictionary: Send + Sync { fn correct_ident<'s, 'w>(
&'s self,
ident: Identifier<'w>
) -> Option<Status<'s>>; fn correct_word<'s, 'w>(&'s self, word: Word<'w>) -> Option<Status<'s>>; }
Expand description
Look up the validity of a term.
Required methods
fn correct_ident<'s, 'w>(&'s self, ident: Identifier<'w>) -> Option<Status<'s>>
[src]
Expand description
Look up the validity of an Identifier.
None
if the status is unknown.
fn correct_word<'s, 'w>(&'s self, word: Word<'w>) -> Option<Status<'s>>
[src]
Expand description
Look up the validity of a Word.
None
if the status is unknown.