Struct rustc_target::abi::call::ArgType [−][src]
pub struct ArgType<'a, Ty> { pub layout: TyLayout<'a, Ty>, pub pad: Option<Reg>, pub mode: PassMode, }
Information about how to pass an argument to, or return a value from, a function, under some ABI.
Fields
layout: TyLayout<'a, Ty>
pad: Option<Reg>
Dummy argument, which is emitted before the real argument.
mode: PassMode
Methods
impl<'a, Ty> ArgType<'a, Ty>
[src]
impl<'a, Ty> ArgType<'a, Ty>
pub fn new(layout: TyLayout<'a, Ty>) -> Self
[src]
pub fn new(layout: TyLayout<'a, Ty>) -> Self
pub fn make_indirect(&mut self)
[src]
pub fn make_indirect(&mut self)
pub fn make_indirect_byval(&mut self)
[src]
pub fn make_indirect_byval(&mut self)
pub fn extend_integer_width_to(&mut self, bits: u64)
[src]
pub fn extend_integer_width_to(&mut self, bits: u64)
pub fn cast_to<T: Into<CastTarget>>(&mut self, target: T)
[src]
pub fn cast_to<T: Into<CastTarget>>(&mut self, target: T)
pub fn pad_with(&mut self, reg: Reg)
[src]
pub fn pad_with(&mut self, reg: Reg)
pub fn is_indirect(&self) -> bool
[src]
pub fn is_indirect(&self) -> bool
pub fn is_ignore(&self) -> bool
[src]
pub fn is_ignore(&self) -> bool