Struct rustc_ap_rustc_target::abi::call::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
Implementations
pub fn new(
cx: &impl HasDataLayout,
layout: TyAndLayout<'a, Ty>,
scalar_attrs: impl Fn(&TyAndLayout<'a, Ty>, &Scalar, Size) -> ArgAttributes
) -> Self
Trait Implementations
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,