pub struct CallRelation {
pub caller: String,
pub callee: String,
pub call_site_line: usize,
pub is_direct: bool,
}Expand description
Represents a function call relationship
Fields§
§caller: StringCaller function name
callee: StringCallee function name
call_site_line: usizeLine number where the call occurs
is_direct: boolIs this a direct call or indirect (e.g., through function pointer)?
Implementations§
Trait Implementations§
Source§impl Clone for CallRelation
impl Clone for CallRelation
Source§fn clone(&self) -> CallRelation
fn clone(&self) -> CallRelation
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 CallRelation
impl Debug for CallRelation
Source§impl<'de> Deserialize<'de> for CallRelation
impl<'de> Deserialize<'de> for CallRelation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CallRelation
impl Hash for CallRelation
Source§impl PartialEq for CallRelation
impl PartialEq for CallRelation
Source§impl Serialize for CallRelation
impl Serialize for CallRelation
impl Eq for CallRelation
impl StructuralPartialEq for CallRelation
Auto Trait Implementations§
impl Freeze for CallRelation
impl RefUnwindSafe for CallRelation
impl Send for CallRelation
impl Sync for CallRelation
impl Unpin for CallRelation
impl UnwindSafe for CallRelation
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