pub enum Lint {
Show 13 variants
PurposeHasExcessWhitespace,
PurposeIsEmpty,
PurposeDoesNotBeginWithUppercase,
PurposeDoesNotEndWithPeriod,
UsageHasExcessWhitespace,
UsageBeginsWithCommandName,
ExampleScenarioHasExcessWhitespace,
ExampleScenarioIsEmpty,
ExampleScenarioBeginsWithUppercase,
ExampleScenarioEndsWithPeriod,
ExampleCommandHasExcessWhitespace,
ExampleCommandIsEmpty,
ExampleCommandBeginsWithCommandName,
}Expand description
Lints that indicate problems during validation.
Variants§
PurposeHasExcessWhitespace
PurposeIsEmpty
PurposeDoesNotBeginWithUppercase
PurposeDoesNotEndWithPeriod
UsageHasExcessWhitespace
UsageBeginsWithCommandName
ExampleScenarioHasExcessWhitespace
ExampleScenarioIsEmpty
ExampleScenarioBeginsWithUppercase
ExampleScenarioEndsWithPeriod
ExampleCommandHasExcessWhitespace
ExampleCommandIsEmpty
ExampleCommandBeginsWithCommandName
Trait Implementations§
impl Eq for Lint
impl StructuralPartialEq for Lint
Auto Trait Implementations§
impl Freeze for Lint
impl RefUnwindSafe for Lint
impl Send for Lint
impl Sync for Lint
impl Unpin for Lint
impl UnwindSafe for Lint
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