pub struct SymbolRelation {
pub from_id: String,
pub to_name: String,
pub kind: RelationType,
pub line: u32,
}Expand description
A relationship between two symbols in the code.
Fields§
§from_id: StringThe source symbol (caller/importer).
to_name: StringThe target symbol name (what is being called/imported).
kind: RelationTypeThe type of relationship.
line: u32Line number where the relationship occurs.
Trait Implementations§
Source§impl Clone for SymbolRelation
impl Clone for SymbolRelation
Source§fn clone(&self) -> SymbolRelation
fn clone(&self) -> SymbolRelation
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 SymbolRelation
impl Debug for SymbolRelation
Source§impl PartialEq for SymbolRelation
impl PartialEq for SymbolRelation
impl Eq for SymbolRelation
impl StructuralPartialEq for SymbolRelation
Auto Trait Implementations§
impl Freeze for SymbolRelation
impl RefUnwindSafe for SymbolRelation
impl Send for SymbolRelation
impl Sync for SymbolRelation
impl Unpin for SymbolRelation
impl UnsafeUnpin for SymbolRelation
impl UnwindSafe for SymbolRelation
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