Struct llvm_ir::instruction::InsertElement [−][src]
pub struct InsertElement {
pub vector: Operand,
pub element: Operand,
pub index: Operand,
pub dest: Name,
pub debugloc: Option<DebugLoc>,
}Expand description
Insert an element into a vector at a specified index. See LLVM 12 docs on the ‘insertelement’ instruction
Fields
vector: Operandelement: Operandindex: Operanddest: 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 InsertElementimpl Send for InsertElementimpl Sync for InsertElementimpl Unpin for InsertElementimpl UnwindSafe for InsertElementBlanket Implementations
Mutably borrows from an owned value. Read more