Enum syntex_syntax::ast::BinOpKind [] [src]

pub enum BinOpKind {
    Add,
    Sub,
    Mul,
    Div,
    Rem,
    And,
    Or,
    BitXor,
    BitAnd,
    BitOr,
    Shl,
    Shr,
    Eq,
    Lt,
    Le,
    Ne,
    Ge,
    Gt,
}

Variants

The + operator (addition)

The - operator (subtraction)

The * operator (multiplication)

The / operator (division)

The % operator (modulus)

The && operator (logical and)

The || operator (logical or)

The ^ operator (bitwise xor)

The & operator (bitwise and)

The | operator (bitwise or)

The << operator (shift left)

The >> operator (shift right)

The == operator (equality)

The < operator (less than)

The <= operator (less than or equal to)

The != operator (not equal to)

The >= operator (greater than or equal to)

The > operator (greater than)

Methods

impl BinOpKind
[src]

Returns true if the binary operator takes its arguments by value

Trait Implementations

impl Clone for BinOpKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for BinOpKind
[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 BinOpKind
[src]

impl Encodable for BinOpKind
[src]

Serialize a value using an Encoder.

impl Decodable for BinOpKind
[src]

Deserialize a value using a Decoder.

impl Hash for BinOpKind
[src]

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

Feeds a slice of this type into the state provided.

impl Debug for BinOpKind
[src]

Formats the value using the given formatter.

impl Copy for BinOpKind
[src]