Enum binaryen::BinaryOp[][src]

pub enum BinaryOp {
    AddI32,
    SubI32,
    MulI32,
    DivSI32,
    DivUI32,
    RemSI32,
    RemUI32,
    AndI32,
    OrI32,
    XorI32,
    ShlI32,
    ShrUI32,
    ShrSI32,
    RotLI32,
    RotRI32,
    EqI32,
    NeI32,
    LtSI32,
    LtUI32,
    LeSI32,
    LeUI32,
    GtSI32,
    GtUI32,
    GeSI32,
    GeUI32,
    AddI64,
    SubI64,
    MulI64,
    DivSI64,
    DivUI64,
    RemSI64,
    RemUI64,
    AndI64,
    OrI64,
    XorI64,
    ShlI64,
    ShrUI64,
    ShrSI64,
    RotLI64,
    RotRI64,
    EqI64,
    NeI64,
    LtSI64,
    LtUI64,
    LeSI64,
    LeUI64,
    GtSI64,
    GtUI64,
    GeSI64,
    GeUI64,
    AddF32,
    SubF32,
    MulF32,
    DivF32,
    CopySignF32,
    MinF32,
    MaxF32,
    EqF32,
    NeF32,
    LtF32,
    LeF32,
    GtF32,
    GeF32,
    AddF64,
    SubF64,
    MulF64,
    DivF64,
    CopySignF64,
    MinF64,
    MaxF64,
    EqF64,
    NeF64,
    LtF64,
    LeF64,
    GtF64,
    GeF64,
}

Operation that takes two input operands and returns result.

See:

  • Module#unary.
  • https://webassembly.github.io/spec/appendix/index-instructions.html

Variants

Trait Implementations

impl Debug for BinaryOp
[src]

Formats the value using the given formatter. Read more

impl Copy for BinaryOp
[src]

impl Clone for BinaryOp
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for BinaryOp
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for BinaryOp
[src]

impl From<BinaryOp> for BinaryenOp
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for BinaryOp

impl Sync for BinaryOp