pub struct Analyzer;Expand description
Main analyzer for egui UI flow
Implementations§
Source§impl Analyzer
impl Analyzer
pub fn new() -> Self
Sourcepub fn analyze_file<P: AsRef<Path>>(
&self,
file_path: P,
) -> Result<FileAnalysis, String>
pub fn analyze_file<P: AsRef<Path>>( &self, file_path: P, ) -> Result<FileAnalysis, String>
Analyze a single Rust source file
Sourcepub fn analyze_source(
&self,
file_path: &str,
content: &str,
) -> Result<FileAnalysis, String>
pub fn analyze_source( &self, file_path: &str, content: &str, ) -> Result<FileAnalysis, String>
Analyze source code directly
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Analyzer
impl RefUnwindSafe for Analyzer
impl Send for Analyzer
impl Sync for Analyzer
impl Unpin for Analyzer
impl UnwindSafe 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