pub struct PathHop {
pub source_id: String,
pub source_name: String,
pub target_name: String,
pub kind: EdgeKind,
pub file_path: String,
pub line: u32,
}Expand description
One hop on a call path returned by Database::trace.
Fields§
§source_id: StringId of the calling symbol — the exact source on this hop, so callers can hydrate its body without re-resolving an ambiguous name.
source_name: String§target_name: String§kind: EdgeKind§file_path: String§line: u32Trait Implementations§
impl Eq for PathHop
impl StructuralPartialEq for PathHop
Auto Trait Implementations§
impl Freeze for PathHop
impl RefUnwindSafe for PathHop
impl Send for PathHop
impl Sync for PathHop
impl Unpin for PathHop
impl UnsafeUnpin for PathHop
impl UnwindSafe for PathHop
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