pub struct GlobalLint { /* private fields */ }Trait Implementations§
Source§impl Lint for GlobalLint
impl Lint for GlobalLint
const SEVERITY: Severity = Severity::Warning
const LINT_TYPE: LintType = LintType::Complexity
type Config = GlobalConfig
type Error = Error
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 UnsafeUnpin 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