Struct x_lint::runner::LintEngine
source · pub struct LintEngine<'cfg> { /* private fields */ }
Expand description
Executor for linters.
Implementations§
source§impl<'cfg> LintEngine<'cfg>
impl<'cfg> LintEngine<'cfg>
pub fn new(config: LintEngineConfig<'cfg>) -> Self
pub fn run(&self) -> Result<LintResults<'_>>
Trait Implementations§
Auto Trait Implementations§
impl<'cfg> !RefUnwindSafe for LintEngine<'cfg>
impl<'cfg> Send for LintEngine<'cfg>
impl<'cfg> Sync for LintEngine<'cfg>
impl<'cfg> Unpin for LintEngine<'cfg>
impl<'cfg> !UnwindSafe for LintEngine<'cfg>
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SafeBorrow<T> for Twhere
T: ?Sized,
impl<T> SafeBorrow<T> for Twhere T: ?Sized,
§fn borrow_replacement(ptr: &T) -> &T
fn borrow_replacement(ptr: &T) -> &T
Given
ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more