Struct llvm_ir::instruction::Add[][src]

pub struct Add {
    pub operand0: Operand,
    pub operand1: Operand,
    pub dest: Name,
    pub debugloc: Option<DebugLoc>,
}

Integer add. See LLVM 12 docs on the 'add' instruction

Fields

operand0: Operandoperand1: Operanddest: Namedebugloc: Option<DebugLoc>

Trait Implementations

impl BinaryOp for Add[src]

impl Clone for Add[src]

impl Debug for Add[src]

impl Display for Add[src]

impl From<Add> for Instruction[src]

impl From<Add> for BinaryOp[src]

impl HasDebugLoc for Add[src]

impl HasResult for Add[src]

impl PartialEq<Add> for Add[src]

impl StructuralPartialEq for Add[src]

impl TryFrom<BinaryOp> for Add[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryFrom<Instruction> for Add[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl Typed for Add[src]

Auto Trait Implementations

impl RefUnwindSafe for Add[src]

impl Send for Add[src]

impl Sync for Add[src]

impl Unpin for Add[src]

impl UnwindSafe for Add[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.