Struct rustc_codegen_llvm::abi::ArgAbi [−][src]
pub struct ArgAbi<'a, Ty> {
pub layout: TyAndLayout<'a, Ty>,
pub pad: Option<Reg>,
pub mode: PassMode,
}
Expand description
Information about how to pass an argument to, or return a value from, a function, under some ABI.
Fields
layout: TyAndLayout<'a, Ty>
pad: Option<Reg>
Dummy argument, which is emitted before the real argument.
mode: PassMode
Trait Implementations
Gets the LLVM type for a place of the original Rust type of
this argument/return, i.e., the result of type_of::type_of
.
Stores a direct/indirect value described by this ArgAbi into a place for the original Rust type of this argument/return. Can be used for both storing formal arguments into Rust variables or results of call/invoke instructions into their destinations.
Auto Trait Implementations
impl<'a, Ty> RefUnwindSafe for ArgAbi<'a, Ty> where
Ty: RefUnwindSafe,
impl<'a, Ty> UnwindSafe for ArgAbi<'a, Ty> where
Ty: UnwindSafe,
Blanket Implementations
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.