pub struct CallGraphNode {
pub function_address: u64,
pub function_name: String,
pub node_type: NodeType,
pub complexity: u32,
pub in_degree: u32,
pub out_degree: u32,
pub is_recursive: bool,
pub call_depth: Option<u32>,
}
Expand description
Call graph node representing a function
Fields§
§function_address: u64
Function address
function_name: String
Function name
node_type: NodeType
Node type classification
complexity: u32
Function complexity
in_degree: u32
Number of callers
out_degree: u32
Number of callees
is_recursive: bool
Whether function is recursive
call_depth: Option<u32>
Distance from entry point
Trait Implementations§
Source§impl Clone for CallGraphNode
impl Clone for CallGraphNode
Source§fn clone(&self) -> CallGraphNode
fn clone(&self) -> CallGraphNode
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 moreAuto Trait Implementations§
impl Freeze for CallGraphNode
impl RefUnwindSafe for CallGraphNode
impl Send for CallGraphNode
impl Sync for CallGraphNode
impl Unpin for CallGraphNode
impl UnwindSafe for CallGraphNode
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