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: usizeTotal number of functions
total_calls: usizeTotal number of calls
direct_calls: usizeDirect function calls
indirect_calls: usizeIndirect function calls
recursive_functions: usizeRecursive functions
leaf_functions: usizeLeaf functions (make no calls)
entry_points: usizeNumber of entry points
unreachable_functions: usizeNumber of unreachable functions
max_call_depth: u32Maximum call depth
average_call_depth: f64Average call depth
cyclic_dependencies: usizeNumber 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