pub struct RustAnalyzer { /* private fields */ }
Expand description
Analyzer for Rust-specific language features
Implementations§
Source§impl RustAnalyzer
impl RustAnalyzer
Sourcepub fn analyze_all(&self) -> RustAnalysisResult
pub fn analyze_all(&self) -> RustAnalysisResult
Comprehensive analysis of all Rust-specific patterns
Sourcepub fn analyze_ownership_patterns(&self) -> Vec<OwnershipPattern>
pub fn analyze_ownership_patterns(&self) -> Vec<OwnershipPattern>
Analyze ownership patterns in the code
Sourcepub fn analyze_performance_patterns(&self) -> Vec<PerformanceIssue>
pub fn analyze_performance_patterns(&self) -> Vec<PerformanceIssue>
Analyze performance-related patterns
Sourcepub fn analyze_safety_patterns(&self) -> Vec<SafetyIssue>
pub fn analyze_safety_patterns(&self) -> Vec<SafetyIssue>
Analyze safety-related patterns
Sourcepub fn analyze_concurrency_patterns(&self) -> Vec<ConcurrencyIssue>
pub fn analyze_concurrency_patterns(&self) -> Vec<ConcurrencyIssue>
Analyze concurrency-related patterns
Sourcepub fn analyze_trait_implementations(&self) -> Vec<TraitImplementation>
pub fn analyze_trait_implementations(&self) -> Vec<TraitImplementation>
Analyze trait implementations
Sourcepub fn analyze_unsafe_usage(&self) -> Vec<UnsafeUsage>
pub fn analyze_unsafe_usage(&self) -> Vec<UnsafeUsage>
Analyze unsafe code usage
Sourcepub fn analyze_lifetime_usage(&self) -> Vec<LifetimeUsage>
pub fn analyze_lifetime_usage(&self) -> Vec<LifetimeUsage>
Analyze lifetime usage
Sourcepub fn analyze_macro_usage(&self) -> Vec<MacroUsage>
pub fn analyze_macro_usage(&self) -> Vec<MacroUsage>
Find all macros used in the code
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