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§
source§impl Clone for InsertElement
impl Clone for InsertElement
source§fn clone(&self) -> InsertElement
fn clone(&self) -> InsertElement
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 InsertElement
impl Debug for InsertElement
source§impl Display for InsertElement
impl Display for InsertElement
source§impl From<InsertElement> for Constant
impl From<InsertElement> for Constant
source§fn from(expr: InsertElement) -> Constant
fn from(expr: InsertElement) -> Constant
Converts to this type from the input type.
source§impl PartialEq<InsertElement> for InsertElement
impl PartialEq<InsertElement> for InsertElement
source§fn 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 ==
.source§impl 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§
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