Struct svlint::rules::operator_case_equality::OperatorCaseEquality
source · pub struct OperatorCaseEquality;
Trait Implementations§
source§impl Default for OperatorCaseEquality
impl Default for OperatorCaseEquality
source§fn default() -> OperatorCaseEquality
fn default() -> OperatorCaseEquality
Returns the “default value” for a type. Read more
source§impl SyntaxRule for OperatorCaseEquality
impl SyntaxRule for OperatorCaseEquality
fn check( &mut self, syntax_tree: &SyntaxTree, event: &NodeEvent<'_>, _option: &ConfigOption ) -> SyntaxRuleResult
fn name(&self) -> String
fn hint(&self, _option: &ConfigOption) -> String
fn reason(&self) -> String
fn into_rule(self) -> Rulewhere
Self: Sized + 'static,
Auto Trait Implementations§
impl Freeze for OperatorCaseEquality
impl RefUnwindSafe for OperatorCaseEquality
impl Send for OperatorCaseEquality
impl Sync for OperatorCaseEquality
impl Unpin for OperatorCaseEquality
impl UnwindSafe for OperatorCaseEquality
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