pub struct CallFact {
pub file_path: PathBuf,
pub caller: String,
pub callee: String,
pub caller_symbol_id: Option<String>,
pub callee_symbol_id: Option<String>,
pub byte_start: usize,
pub byte_end: usize,
pub start_line: usize,
pub start_col: usize,
pub end_line: usize,
pub end_col: usize,
}Expand description
A fact about a function call (forward call graph edge)
Represents: caller function → callee function
Fields§
§file_path: PathBufFile containing this call
caller: StringName of the calling function
callee: StringName of the function being called
caller_symbol_id: Option<String>Stable symbol ID of the caller (optional, for correlation)
callee_symbol_id: Option<String>Stable symbol ID of the callee (optional, for correlation)
byte_start: usizeByte offset where call starts in file
byte_end: usizeByte offset where call ends in file
start_line: usizeLine where call starts (1-indexed)
start_col: usizeColumn where call starts (0-indexed, bytes)
end_line: usizeLine where call ends (1-indexed)
end_col: usizeColumn where call ends (0-indexed, bytes)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CallFact
impl<'de> Deserialize<'de> for CallFact
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
impl Eq for CallFact
impl StructuralPartialEq for CallFact
Auto Trait Implementations§
impl Freeze for CallFact
impl RefUnwindSafe for CallFact
impl Send for CallFact
impl Sync for CallFact
impl Unpin for CallFact
impl UnwindSafe for CallFact
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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