Struct llvm_ir::constant::ExtractElement
source · [−]pub struct ExtractElement {
pub vector: ConstantRef,
pub index: ConstantRef,
}
Fields
vector: ConstantRef
index: ConstantRef
Trait Implementations
sourceimpl Clone for ExtractElement
impl Clone for ExtractElement
sourcefn clone(&self) -> ExtractElement
fn clone(&self) -> ExtractElement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ExtractElement
impl Debug for ExtractElement
sourceimpl Display for ExtractElement
impl Display for ExtractElement
sourceimpl From<ExtractElement> for Constant
impl From<ExtractElement> for Constant
sourcefn from(expr: ExtractElement) -> Constant
fn from(expr: ExtractElement) -> Constant
Converts to this type from the input type.
sourceimpl PartialEq<ExtractElement> for ExtractElement
impl PartialEq<ExtractElement> for ExtractElement
sourcefn 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 ==
. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more