pub enum ABIArg {
Reg(ValueRegs<RealReg>, Type, ArgumentExtension, ArgumentPurpose),
Stack(i64, Type, ArgumentExtension, ArgumentPurpose),
}
Expand description
A location for an argument or return value.
Variants
Reg(ValueRegs<RealReg>, Type, ArgumentExtension, ArgumentPurpose)
In a real register (or set of registers).
Stack(i64, Type, ArgumentExtension, ArgumentPurpose)
Arguments only: on stack, at given offset from SP at entry.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ABIArg
impl Send for ABIArg
impl Sync for ABIArg
impl Unpin for ABIArg
impl UnwindSafe for ABIArg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more