pub struct CallSite {
pub anchor: Anchor,
pub target: CallTarget,
pub api_name: Option<String>,
}Expand description
One call, and what it was found to call.
Fields§
§anchor: AnchorWhere the call is.
target: CallTargetWhat it calls.
api_name: Option<String>A compiler-confirmed standard-library API name, when the helper can establish it without deriving it from the stable target identifier.
None for calls outside the deliberately small API vocabulary used by
restricted semantic rules.
Trait 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 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