pub struct SymbolContext {
pub definition: Node,
pub callers: Vec<Node>,
pub callees: Vec<Node>,
pub used_by: Vec<Node>,
}Expand description
360-degree view of a single symbol.
Fields§
§definition: NodeThe node matching name (first match if multiple).
callers: Vec<Node>Functions/methods that call this symbol (direct callers).
callees: Vec<Node>Functions/methods that this symbol calls (direct callees).
used_by: Vec<Node>Functions/types that reference this symbol via Uses edges.
Auto Trait Implementations§
impl Freeze for SymbolContext
impl RefUnwindSafe for SymbolContext
impl Send for SymbolContext
impl Sync for SymbolContext
impl Unpin for SymbolContext
impl UnsafeUnpin for SymbolContext
impl UnwindSafe for SymbolContext
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