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: Operandelement: Operandindices: Vec<u32>dest: Namedebugloc: 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 InsertValueimpl Send for InsertValueimpl Sync for InsertValueimpl Unpin for InsertValueimpl UnwindSafe for InsertValueBlanket Implementations
Mutably borrows from an owned value. Read more