pub struct LoopAnalysisStats {
pub total_loops: usize,
pub natural_loops: usize,
pub irreducible_loops: usize,
pub nested_loops: usize,
pub max_nesting_depth: u32,
pub loops_by_type: HashMap<LoopType, usize>,
}
Expand description
Loop analysis statistics
Fields§
§total_loops: usize
Total number of loops detected
natural_loops: usize
Natural loops count
irreducible_loops: usize
Irreducible loops count
nested_loops: usize
Nested loops count
max_nesting_depth: u32
Maximum nesting depth
loops_by_type: HashMap<LoopType, usize>
Loops by type
Trait Implementations§
Source§impl Clone for LoopAnalysisStats
impl Clone for LoopAnalysisStats
Source§fn clone(&self) -> LoopAnalysisStats
fn clone(&self) -> LoopAnalysisStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LoopAnalysisStats
impl Debug for LoopAnalysisStats
Source§impl Default for LoopAnalysisStats
impl Default for LoopAnalysisStats
Source§fn default() -> LoopAnalysisStats
fn default() -> LoopAnalysisStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoopAnalysisStats
impl RefUnwindSafe for LoopAnalysisStats
impl Send for LoopAnalysisStats
impl Sync for LoopAnalysisStats
impl Unpin for LoopAnalysisStats
impl UnwindSafe for LoopAnalysisStats
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