Struct selene_lib::lints::global_usage::GlobalLint
source · pub struct GlobalLint { /* private fields */ }
Trait Implementations§
source§impl Lint for GlobalLint
impl Lint for GlobalLint
type Config = GlobalConfig
type Error = Error
const SEVERITY: Severity = Severity::Warning
const LINT_TYPE: LintType = LintType::Complexity
fn new(config: Self::Config) -> Result<Self, Self::Error>
fn pass( &self, _: &Ast, context: &Context, ast_context: &AstContext ) -> Vec<Diagnostic>
Auto Trait Implementations§
impl Freeze for GlobalLint
impl RefUnwindSafe for GlobalLint
impl Send for GlobalLint
impl Sync for GlobalLint
impl Unpin for GlobalLint
impl UnwindSafe for GlobalLint
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