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
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
Trait Implementations
impl Debug for BinaryOp
[src]
impl Debug for BinaryOp
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for BinaryOp
[src]
impl Copy for BinaryOp
impl Clone for BinaryOp
[src]
impl Clone for BinaryOp
fn clone(&self) -> BinaryOp
[src]
fn clone(&self) -> BinaryOp
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for BinaryOp
[src]
impl PartialEq for BinaryOp
fn eq(&self, other: &BinaryOp) -> bool
[src]
fn eq(&self, other: &BinaryOp) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for BinaryOp
[src]
impl Eq for BinaryOp
impl From<BinaryOp> for BinaryenOp
[src]
impl From<BinaryOp> for BinaryenOp
fn from(binop: BinaryOp) -> BinaryenOp
[src]
fn from(binop: BinaryOp) -> BinaryenOp
Performs the conversion.