pub struct Builtin {
pub name: &'static str,
pub stage: Stage,
pub scope: Scope,
pub severity: Severity,
pub run: fn(&Ctx<'_>) -> Outcome,
pub fix: Fix,
}Expand description
A check compiled into the binary.
Fields§
§name: &'static str§stage: Stage§scope: Scope§severity: Severity§run: fn(&Ctx<'_>) -> Outcome§fix: FixAlmost always Fix::None; see CHECKS.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builtin
impl RefUnwindSafe for Builtin
impl Send for Builtin
impl Sync for Builtin
impl Unpin for Builtin
impl UnsafeUnpin for Builtin
impl UnwindSafe for Builtin
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