Expand description
Advanced lifecycle analysis for Rust types
This module implements the features outlined in ComplexTypeForRust.md:
- Drop trait tracking - Record custom destructor execution
- RAII pattern detection - Identify resource acquisition patterns
- Borrow checker integration - Track borrow and mutable borrow lifetimes
- Closure capture analysis - Track closure captured variable lifetimes
Structs§
- Borrow
Analysis - Borrow analysis results
- Borrow
Conflict - Borrow conflict information
- Borrow
Event - Borrow event
- Borrow
Info - Borrow information
- Borrow
Pattern - Borrow pattern analysis
- Borrow
Tracker - Borrow tracking system
- Captured
Variable - Information about a captured variable
- Closure
Capture - Closure capture analysis
- Drop
Event - Drop trait execution event
- Lifecycle
Analysis Report - Comprehensive lifecycle analysis report
- Lifecycle
Analyzer - Advanced lifecycle analysis for Rust types
- Long
Lived Borrow - Long-lived borrow information
- RAII
Pattern - RAII pattern instance
- Scope
Info - Scope information for RAII patterns
Enums§
- Acquisition
Method - Methods of resource acquisition
- Borrow
Event Type - Types of borrow events
- Borrow
Pattern Type - Types of borrow patterns
- Borrow
Type - Types of borrows
- Capture
Mode - Modes of variable capture in closures
- Conflict
Type - Types of borrow conflicts
- Pattern
Impact - Impact level of patterns
- Release
Method - Methods of resource release
- Resource
Type - Types of resources managed by RAII
- Scope
Type - Types of scopes
Functions§
- get_
global_ lifecycle_ analyzer - Get the global lifecycle analyzer instance