Struct llvm_ir::constant::InsertElement
source · [−]pub struct InsertElement {
pub vector: ConstantRef,
pub element: ConstantRef,
pub index: ConstantRef,
}
Fields
vector: ConstantRef
element: ConstantRef
index: ConstantRef
Trait Implementations
sourceimpl Clone for InsertElement
impl Clone for InsertElement
sourcefn clone(&self) -> InsertElement
fn clone(&self) -> InsertElement
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 InsertElement
impl Debug for InsertElement
sourceimpl Display for InsertElement
impl Display for InsertElement
sourceimpl From<InsertElement> for Constant
impl From<InsertElement> for Constant
sourcefn from(expr: InsertElement) -> Constant
fn from(expr: InsertElement) -> Constant
Converts to this type from the input type.
sourceimpl PartialEq<InsertElement> for InsertElement
impl PartialEq<InsertElement> for InsertElement
sourcefn eq(&self, other: &InsertElement) -> bool
fn eq(&self, other: &InsertElement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl TryFrom<Constant> for InsertElement
impl TryFrom<Constant> for InsertElement
impl StructuralPartialEq for InsertElement
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
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