Struct harper_core::LintSet
source · pub struct LintSet { /* private fields */ }
Implementations§
source§impl LintSet
impl LintSet
pub fn add_all(&mut self) -> &mut Self
sourcepub fn add_spell_check(&mut self) -> &mut Self
pub fn add_spell_check(&mut self) -> &mut Self
Modifies self, adding the spell_check
linter to the set.
sourcepub fn add_sentence_capitalization(&mut self) -> &mut Self
pub fn add_sentence_capitalization(&mut self) -> &mut Self
Modifies self, adding the sentence_capitalization
linter to the set.
sourcepub fn add_unclosed_quotes(&mut self) -> &mut Self
pub fn add_unclosed_quotes(&mut self) -> &mut Self
Modifies self, adding the unclosed_quotes
linter to the set.
sourcepub fn add_wrong_quotes(&mut self) -> &mut Self
pub fn add_wrong_quotes(&mut self) -> &mut Self
Modifies self, adding the wrong_quotes
linter to the set.
sourcepub fn add_repeated_words(&mut self) -> &mut Self
pub fn add_repeated_words(&mut self) -> &mut Self
Modifies self, adding the repeated_words
linter to the set.
sourcepub fn add_long_sentences(&mut self) -> &mut Self
pub fn add_long_sentences(&mut self) -> &mut Self
Modifies self, adding the long_sentences
linter to the set.
sourcepub fn with_spell_check(self) -> Self
pub fn with_spell_check(self) -> Self
Consumes self, adding the spell_check
linter to the set.
sourcepub fn with_sentence_capitalization(self) -> Self
pub fn with_sentence_capitalization(self) -> Self
Consumes self, adding the sentence_capitalization
linter to the set.
sourcepub fn with_unclosed_quotes(self) -> Self
pub fn with_unclosed_quotes(self) -> Self
Consumes self, adding the unclosed_quotes
linter to the set.
sourcepub fn with_wrong_quotes(self) -> Self
pub fn with_wrong_quotes(self) -> Self
Consumes self, adding the wrong_quotes
linter to the set.
sourcepub fn with_repeated_words(self) -> Self
pub fn with_repeated_words(self) -> Self
Consumes self, adding the repeated_words
linter to the set.
sourcepub fn with_long_sentences(self) -> Self
pub fn with_long_sentences(self) -> Self
Consumes self, adding the long_sentences
linter to the set.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LintSet
impl Send for LintSet
impl Sync for LintSet
impl Unpin for LintSet
impl UnwindSafe for LintSet
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