pub struct CallSite {
pub id: CallSiteId,
pub syntax: CallSyntax,
pub target: CallTarget,
pub label: CallLabel,
pub span: SourceSpan,
}Fields§
§id: CallSiteIdIdentity of this source call edge. Backends derive it from the owning definition and the call’s structural source identity. It is kept separate from the callee because one function may call the same target more than once.
syntax: CallSyntax§target: CallTargetAuthoritative semantic target supplied by rustc_public, OCaml Typedtree, or
another language backend. Syntax-only frontends use Unresolved and
the common graph falls back to conservative path resolution.
label: CallLabelFully formatted by the owning language frontend. Core rendering never
needs to know whether a call uses f(x) or f x syntax.
span: SourceSpanTrait Implementations§
Source§impl<'de> Deserialize<'de> for CallSite
impl<'de> Deserialize<'de> for CallSite
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 CallSite
impl StructuralPartialEq for CallSite
Auto Trait Implementations§
impl DynSend for CallSite
impl DynSync for CallSite
impl Freeze for CallSite
impl RefUnwindSafe for CallSite
impl Send for CallSite
impl Sync for CallSite
impl Unpin for CallSite
impl UnsafeUnpin for CallSite
impl UnwindSafe for CallSite
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