pub struct Analyzer { /* private fields */ }Implementations§
Source§impl Analyzer
impl Analyzer
pub fn new(config: Config) -> Self
pub fn analyze_path(&mut self, path: &Path) -> AnalysisResults
pub fn analyze_path_with_autofix(&mut self, path: &Path) -> AnalysisResults
pub fn analyze_file(&self, path: &Path) -> AnalysisResults
Auto Trait Implementations§
impl !RefUnwindSafe for Analyzer
impl !UnwindSafe for Analyzer
impl Freeze for Analyzer
impl Send for Analyzer
impl Sync for Analyzer
impl Unpin for Analyzer
impl UnsafeUnpin for Analyzer
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more