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