pub struct HighCyclomaticComplexityLint { /* private fields */ }Trait Implementations§
Source§impl Default for HighCyclomaticComplexityLint
impl Default for HighCyclomaticComplexityLint
Source§fn default() -> HighCyclomaticComplexityLint
fn default() -> HighCyclomaticComplexityLint
Returns the “default value” for a type. Read more
Source§impl Lint for HighCyclomaticComplexityLint
impl Lint for HighCyclomaticComplexityLint
const SEVERITY: Severity = Severity::Allow
const LINT_TYPE: LintType = LintType::Style
type Config = HighCyclomaticComplexityConfig
type Error = Infallible
fn new(config: Self::Config) -> Result<Self, Self::Error>
fn pass(&self, ast: &Ast, _: &Context, _: &AstContext) -> Vec<Diagnostic>
Auto Trait Implementations§
impl Freeze for HighCyclomaticComplexityLint
impl RefUnwindSafe for HighCyclomaticComplexityLint
impl Send for HighCyclomaticComplexityLint
impl Sync for HighCyclomaticComplexityLint
impl Unpin for HighCyclomaticComplexityLint
impl UnsafeUnpin for HighCyclomaticComplexityLint
impl UnwindSafe for HighCyclomaticComplexityLint
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