pub struct CallInfo {
pub convention: CallConvention,
pub fn_ptr: FnPtr,
pub num_args: u16,
pub is_recursive: bool,
pub caller_name: Option<String>,
pub callee_name: Option<String>,
}Expand description
Information about a function call at runtime.
Fields§
§convention: CallConventionThe call convention used.
fn_ptr: FnPtrThe function being called.
num_args: u16Number of arguments.
is_recursive: boolWhether this is a recursive call.
caller_name: Option<String>Caller’s name (for debugging).
callee_name: Option<String>Callee’s name (for debugging).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallInfo
impl RefUnwindSafe for CallInfo
impl Send for CallInfo
impl Sync for CallInfo
impl Unpin for CallInfo
impl UnsafeUnpin for CallInfo
impl UnwindSafe for CallInfo
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