pub struct Calling<'a> {
pub callee: Symbol,
pub args: &'a [(Type, Reg)],
pub returns: Option<Type>,
pub variadic: bool,
}Expand description
One call, as everything about it that is not the function it is being built into.
Fields§
§callee: SymbolThe name it calls.
args: &'a [(Type, Reg)]What it passes, as the type each value travels as and the register it is in, in the order the signature holds them, which is the order the convention places them in.
returns: Option<Type>What comes back, or None for a call that gives nothing back.
variadic: boolWhether the callee takes arguments beyond the ones its signature names, which is what says whether it reads the count of vector registers the call passed arguments in.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Calling<'a>
impl<'a> RefUnwindSafe for Calling<'a>
impl<'a> Send for Calling<'a>
impl<'a> Sync for Calling<'a>
impl<'a> Unpin for Calling<'a>
impl<'a> UnsafeUnpin for Calling<'a>
impl<'a> UnwindSafe for Calling<'a>
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