Struct skyspell::NonInteractiveChecker
source · pub struct NonInteractiveChecker<D: Dictionary> { /* private fields */ }
Implementations§
source§impl<D: Dictionary> NonInteractiveChecker<D>
impl<D: Dictionary> NonInteractiveChecker<D>
pub fn new( project: Project, dictionary: D, storage_backend: StorageBackend, output_format: OutputFormat ) -> Result<Self>
Trait Implementations§
source§impl<D: Dictionary> Checker for NonInteractiveChecker<D>
impl<D: Dictionary> Checker for NonInteractiveChecker<D>
type Context = (usize, usize)
fn dictionary(&self) -> &dyn Dictionary
fn handle_error( &mut self, token: &str, path: &RelativePath, context: &Self::Context ) -> Result<()>
fn success(&self) -> Result<()>
fn project(&self) -> &Project
fn storage_backend(&mut self) -> &mut StorageBackend
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<D> !RefUnwindSafe for NonInteractiveChecker<D>
impl<D> !Send for NonInteractiveChecker<D>
impl<D> !Sync for NonInteractiveChecker<D>
impl<D> Unpin for NonInteractiveChecker<D>where D: Unpin,
impl<D> !UnwindSafe for NonInteractiveChecker<D>
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