Struct llvm_ir::instruction::InsertValue [−][src]
pub struct InsertValue { pub aggregate: Operand, pub element: Operand, pub indices: Vec<u32>, pub dest: Name, pub debugloc: Option<DebugLoc>, }
Expand description
Insert a value into a member field of an aggregate (struct or array) type. See LLVM 12 docs on the ‘insertvalue’ instruction
Fields
aggregate: Operand
element: Operand
indices: Vec<u32>
dest: Name
debugloc: Option<DebugLoc>
Trait Implementations
Performs the conversion.
Returns the DebugLoc
associated with the given Instruction
,
Terminator
, GlobalVariable
, or Function
; or None
if it doesn’t
have a DebugLoc
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InsertValue
impl Send for InsertValue
impl Sync for InsertValue
impl Unpin for InsertValue
impl UnwindSafe for InsertValue
Blanket Implementations
Mutably borrows from an owned value. Read more