[][src]Enum syntax::ast::BinOpKind

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]

Performs copy-assignment from source. Read more

impl Copy for BinOpKind
[src]

impl PartialEq<BinOpKind> for BinOpKind
[src]

This method tests for !=.

impl Debug for BinOpKind
[src]

impl Encodable for BinOpKind
[src]

impl Decodable for BinOpKind
[src]

Auto Trait Implementations

impl Send for BinOpKind

impl Sync for BinOpKind

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

impl<T> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<E> SpecializationError for E
[src]

impl<T> Erased for T
[src]

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<E> SpecializationError for E
[src]

impl<T> Erased for T
[src]

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> Erased for T