Struct skyspell::InteractiveChecker
source · pub struct InteractiveChecker<I: Interactor, D: Dictionary> { /* private fields */ }
Implementations
sourceimpl<I: Interactor, D: Dictionary> InteractiveChecker<I, D>
impl<I: Interactor, D: Dictionary> InteractiveChecker<I, D>
pub fn new(
project: Project,
interactor: I,
dictionary: D,
storage_backend: StorageBackend
) -> Result<Self>
Trait Implementations
sourceimpl<I: Interactor, D: Dictionary> Checker for InteractiveChecker<I, D>
impl<I: Interactor, D: Dictionary> Checker for InteractiveChecker<I, D>
type Context = (usize, usize)
fn success(&self) -> Result<()>
fn project(&self) -> &Project
fn dictionary(&self) -> &dyn Dictionary
fn storage_backend(&self) -> &StorageBackend
fn handle_error(
&mut self,
error: &str,
path: &RelativePath,
context: &Self::Context
) -> Result<()>
fn to_relative_path(&self, path: &Path) -> Result<RelativePath, Error>
fn handle_token(
&mut self,
token: &str,
relative_path: &RelativePath,
context: &Self::Context
) -> Result<(), Error>
Auto Trait Implementations
impl<I, D> !RefUnwindSafe for InteractiveChecker<I, D>
impl<I, D> !Send for InteractiveChecker<I, D>
impl<I, D> !Sync for InteractiveChecker<I, D>
impl<I, D> Unpin for InteractiveChecker<I, D>where
D: Unpin,
I: Unpin,
impl<I, D> !UnwindSafe for InteractiveChecker<I, D>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more