pub struct Call { /* private fields */ }Expand description
The registers one call has left.
Made by TargetInfo::call, asked about the return value first and then about each
argument in order. Asking out of order gives an answer for a different program.
Implementations§
Source§impl Call
impl Call
Sourcepub fn returns(&mut self, arg: &Arg<'_>) -> Pass
pub fn returns(&mut self, arg: &Arg<'_>) -> Pass
How the return value comes back, which is asked before anything else.
A return value that comes back in memory takes an argument register with it on three of these four ABIs, so asking about the arguments first gives the wrong answer for the last one of them.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnsafeUnpin for Call
impl UnwindSafe for Call
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