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

Look up the validity of an Identifier.

None if the status is unknown.

Look up the validity of a Word.

None if the status is unknown.

Implementors