pub struct CallGraphStatistics {
pub total_functions: usize,
pub total_calls: usize,
pub direct_calls: usize,
pub indirect_calls: usize,
pub recursive_functions: usize,
pub leaf_functions: usize,
pub entry_points: usize,
pub unreachable_functions: usize,
pub max_call_depth: u32,
pub average_call_depth: f64,
pub cyclic_dependencies: usize,
}
Expand description
Call graph statistics
Fields§
§total_functions: usize
Total number of functions
total_calls: usize
Total number of calls
direct_calls: usize
Direct function calls
indirect_calls: usize
Indirect function calls
recursive_functions: usize
Recursive functions
leaf_functions: usize
Leaf functions (make no calls)
entry_points: usize
Number of entry points
unreachable_functions: usize
Number of unreachable functions
max_call_depth: u32
Maximum call depth
average_call_depth: f64
Average call depth
cyclic_dependencies: usize
Number of cyclic dependencies
Trait Implementations§
Source§impl Clone for CallGraphStatistics
impl Clone for CallGraphStatistics
Source§fn clone(&self) -> CallGraphStatistics
fn clone(&self) -> CallGraphStatistics
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 CallGraphStatistics
impl Debug for CallGraphStatistics
Source§impl Default for CallGraphStatistics
impl Default for CallGraphStatistics
Source§fn default() -> CallGraphStatistics
fn default() -> CallGraphStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CallGraphStatistics
impl RefUnwindSafe for CallGraphStatistics
impl Send for CallGraphStatistics
impl Sync for CallGraphStatistics
impl Unpin for CallGraphStatistics
impl UnwindSafe for CallGraphStatistics
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