Enum ispell::IspellResult
[−]
[src]
pub enum IspellResult { Ok, Root(String), Compound, Miss(IspellError), Guess(IspellError), None(IspellError), }
A result from ispell, corresponding to a line that is sent back for each word
Variants
Ok
The word was found in the dictionnary.
Corresponds to '*'
Root(String)
The word wasn't found, but a root word was found.
Corresponds to '+'
Compound
The word wasn't found, but corresponds to the concatenation of two words
Corresponds to '-'
Miss(IspellError)
The word wasn't found, but there are near misses
Corresponds to '&'
Guess(IspellError)
The word wasn't found, but could be formed by adding illegal affixes to a known root
Corresponds to '?'
None(IspellError)
The word wasn't found in the dictionnary and there are no suggestions
Corresponds to '#'
Trait Implementations
impl Debug for IspellResult
[src]
impl PartialEq for IspellResult
[src]
fn eq(&self, __arg_0: &IspellResult) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IspellResult) -> bool
This method tests for !=
.