Struct llvm_ir::constant::ExtractElement
source · pub struct ExtractElement {
pub vector: ConstantRef,
pub index: ConstantRef,
}
Fields§
§vector: ConstantRef
§index: ConstantRef
Trait Implementations§
source§impl Clone for ExtractElement
impl Clone for ExtractElement
source§fn clone(&self) -> ExtractElement
fn clone(&self) -> ExtractElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExtractElement
impl Debug for ExtractElement
source§impl Display for ExtractElement
impl Display for ExtractElement
source§impl From<ExtractElement> for Constant
impl From<ExtractElement> for Constant
source§fn from(expr: ExtractElement) -> Constant
fn from(expr: ExtractElement) -> Constant
Converts to this type from the input type.
source§impl PartialEq<ExtractElement> for ExtractElement
impl PartialEq<ExtractElement> for ExtractElement
source§fn eq(&self, other: &ExtractElement) -> bool
fn eq(&self, other: &ExtractElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Constant> for ExtractElement
impl TryFrom<Constant> for ExtractElement
impl StructuralPartialEq for ExtractElement
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more