pub struct RustAnalyzer;Expand description
Rust AST Analyzer
Implementations§
Source§impl RustAnalyzer
impl RustAnalyzer
Sourcepub fn scan_file(path: &Path) -> Vec<CodeReference>
pub fn scan_file(path: &Path) -> Vec<CodeReference>
Scan a Rust file for QAIL patterns using AST parsing
Sourcepub fn is_rust_project(path: &Path) -> bool
pub fn is_rust_project(path: &Path) -> bool
Check if this is a Rust project (has Cargo.toml)
Sourcepub fn scan_directory(dir: &Path) -> Vec<CodeReference>
pub fn scan_directory(dir: &Path) -> Vec<CodeReference>
Scan a directory for Rust files
Auto Trait Implementations§
impl Freeze for RustAnalyzer
impl RefUnwindSafe for RustAnalyzer
impl Send for RustAnalyzer
impl Sync for RustAnalyzer
impl Unpin for RustAnalyzer
impl UnwindSafe for RustAnalyzer
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