Skip to main content

Module scope

Module scope 

Source
Expand description

Scope tracking types.

This module contains types for tracking scope lifecycle, hierarchy, and memory usage within scopes.

Re-exports§

pub use super::allocation::ImpactLevel;
pub use super::allocation::RiskDistribution;

Structs§

BorrowEvent
Borrow event for tracking borrowing patterns.
GrowthEvent
Growth event tracking allocation growth patterns.
MoveEvent
Move event for tracking ownership transfers.
PotentialLeak
Potential memory leak detection.
ScopeAnalysis
Scope analysis results.
ScopeHierarchy
Scope hierarchy.
ScopeInfo
Scope information.
ScopeLifecycleMetrics
Scope lifecycle metrics.
TypeLifecyclePattern
Type-specific lifecycle pattern analysis.
VariableRelationship
Variable relationship tracking.

Enums§

AllocationEventType
Type of allocation event.
GrowthReason
Growth reason for tracking allocation growth.
ScopeEventType
Type of scope event.