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: Operand
element: Operand
index: Operand
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 InsertElement
impl Send for InsertElement
impl Sync for InsertElement
impl Unpin for InsertElement
impl UnwindSafe for InsertElement
Blanket Implementations
Mutably borrows from an owned value. Read more