pub enum LintRulePreset {
Default,
All,
None,
}Expand description
Named baseline for lint rule selection.
Variants§
Default
The curated default-on rule set.
All
Every registered rule.
None
No baseline rules; use select for an exact explicit set.
Trait Implementations§
Source§impl Clone for LintRulePreset
impl Clone for LintRulePreset
Source§fn clone(&self) -> LintRulePreset
fn clone(&self) -> LintRulePreset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LintRulePreset
Source§impl Debug for LintRulePreset
impl Debug for LintRulePreset
Source§impl Default for LintRulePreset
impl Default for LintRulePreset
Source§fn default() -> LintRulePreset
fn default() -> LintRulePreset
Returns the “default value” for a type. Read more
impl Eq for LintRulePreset
Source§impl PartialEq for LintRulePreset
impl PartialEq for LintRulePreset
Source§fn eq(&self, other: &LintRulePreset) -> bool
fn eq(&self, other: &LintRulePreset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LintRulePreset
Auto Trait Implementations§
impl Freeze for LintRulePreset
impl RefUnwindSafe for LintRulePreset
impl Send for LintRulePreset
impl Sync for LintRulePreset
impl Unpin for LintRulePreset
impl UnsafeUnpin for LintRulePreset
impl UnwindSafe for LintRulePreset
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