pub struct CallInfo {
pub callee: Option<Symbol>,
pub signature: Sig,
pub varargs: AbiList,
}Expand description
What a call needs beyond its arguments.
Fields§
§callee: Option<Symbol>The name, for a direct call. None for a call through an address, where the address is
the first operand.
signature: SigThe signature it is called with, which is where the ABI attributes are.
varargs: AbiListWhat the ABI asks of the arguments the signature does not name, one entry for each of them.
Only a variadic call has any, because only a variadic call passes an argument no
parameter stands for, and it is empty when every one of them travels as the value in
hand, which is nearly always. A structure the classification puts in the argument area
is the case it exists for: the bytes travel and there is no parameter to hang the
Abi::ByVal on, so it hangs here instead.
Trait Implementations§
impl Copy for CallInfo
impl Eq for CallInfo
impl StructuralPartialEq for CallInfo
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