Enum rustc::mir::repr::BinOp
[−]
[src]
pub enum BinOp {
Add,
Sub,
Mul,
Div,
Rem,
BitXor,
BitAnd,
BitOr,
Shl,
Shr,
Eq,
Lt,
Le,
Ne,
Ge,
Gt,
}Unstable (
rustc_private)Variants
AddUnstable (
rustc_private)The + operator (addition)
SubUnstable (
rustc_private)The - operator (subtraction)
MulUnstable (
rustc_private)The * operator (multiplication)
DivUnstable (
rustc_private)The / operator (division)
RemUnstable (
rustc_private)The % operator (modulus)
BitXorUnstable (
rustc_private)The ^ operator (bitwise xor)
BitAndUnstable (
rustc_private)The & operator (bitwise and)
BitOrUnstable (
rustc_private)The | operator (bitwise or)
ShlUnstable (
rustc_private)The << operator (shift left)
ShrUnstable (
rustc_private)The >> operator (shift right)
EqUnstable (
rustc_private)The == operator (equality)
LtUnstable (
rustc_private)The < operator (less than)
LeUnstable (
rustc_private)The <= operator (less than or equal to)
NeUnstable (
rustc_private)The != operator (not equal to)
GeUnstable (
rustc_private)The >= operator (greater than or equal to)
GtUnstable (
rustc_private)The > operator (greater than)
Methods
impl BinOp[src]
fn to_hir_binop(self) -> BinOp_
Trait Implementations
Derived Implementations
impl Decodable for BinOp[src]
impl Encodable for BinOp[src]
impl Eq for BinOp[src]
impl PartialEq for BinOp[src]
fn eq(&self, __arg_0: &BinOp) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Debug for BinOp[src]
impl Clone for BinOp[src]
fn clone(&self) -> BinOp
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more