pub struct CodeAnalyzer { /* private fields */ }Implementations§
Source§impl CodeAnalyzer
impl CodeAnalyzer
pub fn rule_names(&self) -> Vec<&'static str>
pub fn new(exclude_patterns: &[String], lang: &str) -> Self
pub fn with_config( exclude_patterns: &[String], lang: &str, config: ProjectConfig, ) -> Self
pub fn analyze_path(&self, path: &Path) -> Vec<CodeIssue>
pub fn analyze_file(&self, file_path: &Path) -> Vec<CodeIssue>
Auto Trait Implementations§
impl !Freeze for CodeAnalyzer
impl !RefUnwindSafe for CodeAnalyzer
impl Send for CodeAnalyzer
impl Sync for CodeAnalyzer
impl Unpin for CodeAnalyzer
impl UnsafeUnpin for CodeAnalyzer
impl !UnwindSafe for CodeAnalyzer
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