pub struct CodeAnalyzer;Expand description
Analyze Rust code structure
Implementations§
Source§impl CodeAnalyzer
impl CodeAnalyzer
Sourcepub fn analyze_file<P: AsRef<Path>>(path: P) -> Result<CodeStructure>
pub fn analyze_file<P: AsRef<Path>>(path: P) -> Result<CodeStructure>
Analyze a Rust source file
Sourcepub fn analyze_code(code: &str) -> Result<CodeStructure>
pub fn analyze_code(code: &str) -> Result<CodeStructure>
Analyze Rust code from a string
Auto Trait Implementations§
impl Freeze for CodeAnalyzer
impl RefUnwindSafe for CodeAnalyzer
impl Send for CodeAnalyzer
impl Sync for CodeAnalyzer
impl Unpin 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