[][src]Struct spellbound::Checker

pub struct Checker(_);

Instance of the system spell checker.

Methods

impl Checker[src]

pub fn new() -> Self[src]

Create an instance of the system spell checker.

pub fn check<'a, 'b: 'a>(
    &'b mut self,
    text: &'a str
) -> impl Iterator<Item = SpellingError> + 'a
[src]

Check a text for spelling errors. Returns an iterator over the errors present in the text.

pub fn ignore(&mut self, word: &str)[src]

Instructs the spell checker to ignore a word in future checks. The word is temporarily added to the spell checker's ignore list, and other instances of the spell checker will not ignore the word.

Trait Implementations

impl Debug for Checker[src]

Auto Trait Implementations

impl RefUnwindSafe for Checker

impl !Send for Checker

impl !Sync for Checker

impl Unpin for Checker

impl UnwindSafe for Checker

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.