pub struct IspellError {
pub misspelled: String,
pub position: usize,
pub suggestions: Vec<String>,
}Expand description
An ispell error, corresponding to a word that isn’t in the dictonary.
Fields§
§misspelled: StringThe misspelled word
position: usizeThe position of the word (number of characters since the beginning of the new line)
suggestions: Vec<String>A list of suggestions
Trait Implementations§
Source§impl Debug for IspellError
impl Debug for IspellError
Source§impl PartialEq for IspellError
impl PartialEq for IspellError
impl StructuralPartialEq for IspellError
Auto Trait Implementations§
impl Freeze for IspellError
impl RefUnwindSafe for IspellError
impl Send for IspellError
impl Sync for IspellError
impl Unpin for IspellError
impl UnwindSafe for IspellError
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