pub struct WitSpellCheck { /* private fields */ }Expand description
A spell checker for wit files.
Implementations§
Source§impl WitSpellCheck
impl WitSpellCheck
Sourcepub fn new<P>(directory: P) -> Result<Self>
pub fn new<P>(directory: P) -> Result<Self>
Create a new spell checker with the given hunspell directory.
Sourcepub fn check_functions(self, check: bool) -> Self
pub fn check_functions(self, check: bool) -> Self
Whether to check function names.
Sourcepub fn check_parameters(self, check: bool) -> Self
pub fn check_parameters(self, check: bool) -> Self
Whether to check parameter names.
Auto Trait Implementations§
impl Freeze for WitSpellCheck
impl RefUnwindSafe for WitSpellCheck
impl !Send for WitSpellCheck
impl !Sync for WitSpellCheck
impl Unpin for WitSpellCheck
impl UnwindSafe for WitSpellCheck
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