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: 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 ExtractElementimpl Send for ExtractElementimpl Sync for ExtractElementimpl Unpin for ExtractElementimpl UnwindSafe for ExtractElementBlanket Implementations
Mutably borrows from an owned value. Read more