pub struct CallRelationships {
pub symbol: SymbolInfo,
pub callers: Vec<CallReference>,
pub callees: Vec<CallReference>,
}Expand description
Call relationships for a symbol.
Fields§
§symbol: SymbolInfoThe symbol whose relationships are being queried.
callers: Vec<CallReference>Symbols that call this symbol (if direction is In or Both).
callees: Vec<CallReference>Symbols that this symbol calls (if direction is Out or Both).
Trait Implementations§
Source§impl Clone for CallRelationships
impl Clone for CallRelationships
Source§fn clone(&self) -> CallRelationships
fn clone(&self) -> CallRelationships
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CallRelationships
impl Debug for CallRelationships
Source§impl From<CallRelationships> for RefsResponse
impl From<CallRelationships> for RefsResponse
Source§fn from(rels: CallRelationships) -> Self
fn from(rels: CallRelationships) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CallRelationships
impl RefUnwindSafe for CallRelationships
impl Send for CallRelationships
impl Sync for CallRelationships
impl Unpin for CallRelationships
impl UnsafeUnpin for CallRelationships
impl UnwindSafe for CallRelationships
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<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