Struct llvm_ir::instruction::VAArg
source · [−]pub struct VAArg {
pub arg_list: Operand,
pub cur_type: TypeRef,
pub dest: Name,
pub debugloc: Option<DebugLoc>,
}
Expand description
Used to access variadic arguments passed to a function. See LLVM 14 docs on the ‘va_arg’ instruction
Fields
arg_list: Operand
cur_type: TypeRef
dest: Name
debugloc: Option<DebugLoc>
Trait Implementations
sourceimpl From<VAArg> for Instruction
impl From<VAArg> for Instruction
sourcefn from(inst: VAArg) -> Instruction
fn from(inst: VAArg) -> Instruction
Converts to this type from the input type.
sourceimpl HasDebugLoc for VAArg
impl HasDebugLoc for VAArg
sourcefn get_debug_loc(&self) -> &Option<DebugLoc>
fn get_debug_loc(&self) -> &Option<DebugLoc>
Returns the DebugLoc
associated with the given Instruction
,
Terminator
, GlobalVariable
, or Function
; or None
if it doesn’t
have a DebugLoc
. Read more
sourceimpl PartialEq<VAArg> for VAArg
impl PartialEq<VAArg> for VAArg
sourceimpl TryFrom<Instruction> for VAArg
impl TryFrom<Instruction> for VAArg
impl StructuralPartialEq for VAArg
Auto Trait Implementations
impl RefUnwindSafe for VAArg
impl Send for VAArg
impl Sync for VAArg
impl Unpin for VAArg
impl UnwindSafe for VAArg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more