pub struct LintCtx {
only_diffed: bool,
}Expand description
Context passed to each lint, containing configuration options.
Fields§
§only_diffed: boolWhen true we are linting a subset of repo files, so some lints may want to skip checks that require whole-repo analysis.
Auto Trait Implementations§
impl Freeze for LintCtx
impl RefUnwindSafe for LintCtx
impl Send for LintCtx
impl Sync for LintCtx
impl Unpin for LintCtx
impl UnsafeUnpin for LintCtx
impl UnwindSafe for LintCtx
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