pub struct CallSite {
pub callee: String,
pub arguments: Vec<ArgumentSource>,
pub caller: Option<String>,
pub location: SourceLocation,
}Expand description
A function call site discovered in source code.
Fields§
§callee: StringThe function being called.
arguments: Vec<ArgumentSource>Arguments passed, each classified.
caller: Option<String>The enclosing function name, if any.
location: SourceLocationTrait Implementations§
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