Struct selene_lib::rules::unscoped_variables::UnscopedVariablesLint
source · [−]pub struct UnscopedVariablesLint { /* private fields */ }
Trait Implementations
sourceimpl Rule for UnscopedVariablesLint
impl Rule for UnscopedVariablesLint
type Config = UnscopedVariablesConfig
type Error = Error
fn new(config: Self::Config) -> Result<Self, Self::Error>
fn pass(&self, ast: &Ast, context: &Context) -> Vec<Diagnostic>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn severity(&self) -> Severity
fn rule_type(&self) -> RuleType
Auto Trait Implementations
impl RefUnwindSafe for UnscopedVariablesLint
impl Send for UnscopedVariablesLint
impl Sync for UnscopedVariablesLint
impl Unpin for UnscopedVariablesLint
impl UnwindSafe for UnscopedVariablesLint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more