pub struct EnhancedCycles {
pub call_graph_cycles: Vec<CycleInfo>,
pub function_loops: HashMap<String, Vec<LoopInfo>>,
pub total_cycles: usize,
}Expand description
Combined cycle detection report
Combines inter-procedural (call graph SCCs) and intra-procedural (natural loops) cycle detection for complete cycle visibility.
Fields§
§call_graph_cycles: Vec<CycleInfo>Inter-procedural: Call graph SCCs (mutual recursion)
function_loops: HashMap<String, Vec<LoopInfo>>Intra-procedural: Natural loops within functions
total_cycles: usizeTotal cycle count (call graph + function loops)
Trait Implementations§
Source§impl Clone for EnhancedCycles
impl Clone for EnhancedCycles
Source§fn clone(&self) -> EnhancedCycles
fn clone(&self) -> EnhancedCycles
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EnhancedCycles
impl Debug for EnhancedCycles
Auto Trait Implementations§
impl Freeze for EnhancedCycles
impl RefUnwindSafe for EnhancedCycles
impl Send for EnhancedCycles
impl Sync for EnhancedCycles
impl Unpin for EnhancedCycles
impl UnsafeUnpin for EnhancedCycles
impl UnwindSafe for EnhancedCycles
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more