pub struct InteractiveChecker<I: Interactor, D: Dictionary> { /* private fields */ }
Implementations§
Source§impl<I: Interactor, D: Dictionary> InteractiveChecker<I, D>
impl<I: Interactor, D: Dictionary> InteractiveChecker<I, D>
Trait Implementations§
Source§impl<I: Interactor, D: Dictionary> Checker<D> for InteractiveChecker<I, D>
impl<I: Interactor, D: Dictionary> Checker<D> for InteractiveChecker<I, D>
type SourceContext = ()
fn success(&self) -> Result<()>
fn project(&self) -> &Project
fn dictionary(&self) -> &D
fn ignore_store(&mut self) -> &mut IgnoreStore
fn state(&mut self) -> Option<&mut CheckerState>
fn handle_error( &mut self, error: &SpellingError, _context: &Self::SourceContext, ) -> Result<()>
fn apply_operation(&mut self, operation: Operation) -> Result<()>
fn to_relative_path(&self, path: &Path) -> Result<RelativePath, Error>
fn process( &mut self, source_path: &Path, context: &Self::SourceContext, ) -> Result<ProcessOutcome, Error>
fn handle_token( &mut self, token: &str, relative_path: &RelativePath, pos: (usize, usize), context: &Self::SourceContext, ) -> Result<(), Error>
fn undo(&mut self) -> Result<(), Error>
Auto Trait Implementations§
impl<I, D> Freeze for InteractiveChecker<I, D>
impl<I, D> RefUnwindSafe for InteractiveChecker<I, D>where
I: RefUnwindSafe,
D: RefUnwindSafe,
impl<I, D> Send for InteractiveChecker<I, D>
impl<I, D> Sync for InteractiveChecker<I, D>
impl<I, D> Unpin for InteractiveChecker<I, D>
impl<I, D> UnwindSafe for InteractiveChecker<I, D>where
I: UnwindSafe,
D: UnwindSafe,
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