pub enum RuleOverride {
Error,
Warning,
Off,
}Expand description
Per-rule severity override from config.
Variants§
Trait Implementations§
Source§impl Clone for RuleOverride
impl Clone for RuleOverride
Source§fn clone(&self) -> RuleOverride
fn clone(&self) -> RuleOverride
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 moreSource§impl Debug for RuleOverride
impl Debug for RuleOverride
Source§impl PartialEq for RuleOverride
impl PartialEq for RuleOverride
Source§fn eq(&self, other: &RuleOverride) -> bool
fn eq(&self, other: &RuleOverride) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RuleOverride
impl StructuralPartialEq for RuleOverride
Auto Trait Implementations§
impl Freeze for RuleOverride
impl RefUnwindSafe for RuleOverride
impl Send for RuleOverride
impl Sync for RuleOverride
impl Unpin for RuleOverride
impl UnsafeUnpin for RuleOverride
impl UnwindSafe for RuleOverride
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