Enum syntex_syntax::ast::BinOp_ [] [src]

pub enum BinOp_ {
    BiAdd,
    BiSub,
    BiMul,
    BiDiv,
    BiRem,
    BiAnd,
    BiOr,
    BiBitXor,
    BiBitAnd,
    BiBitOr,
    BiShl,
    BiShr,
    BiEq,
    BiLt,
    BiLe,
    BiNe,
    BiGe,
    BiGt,
}

Variants

BiAdd

The + operator (addition)

BiSub

The - operator (subtraction)

BiMul

The * operator (multiplication)

BiDiv

The / operator (division)

BiRem

The % operator (modulus)

BiAnd

The && operator (logical and)

BiOr

The || operator (logical or)

BiBitXor

The ^ operator (bitwise xor)

BiBitAnd

The & operator (bitwise and)

BiBitOr

The | operator (bitwise or)

BiShl

The << operator (shift left)

BiShr

The >> operator (shift right)

BiEq

The == operator (equality)

BiLt

The < operator (less than)

BiLe

The <= operator (less than or equal to)

BiNe

The != operator (not equal to)

BiGe

The >= operator (greater than or equal to)

BiGt

The > operator (greater than)

Trait Implementations

Derived Implementations

impl Copy for BinOp_
[src]

impl Debug for BinOp_
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Hash for BinOp_
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Decodable for BinOp_
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<BinOp_, __D::Error>

impl Encodable for BinOp_
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

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) -> bool
1.0.0

This method tests for !=.

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