[][src]Enum ra_ap_syntax::ast::BinOp

pub enum BinOp {
    BooleanOr,
    BooleanAnd,
    EqualityTest,
    NegatedEqualityTest,
    LesserEqualTest,
    GreaterEqualTest,
    LesserTest,
    GreaterTest,
    Addition,
    Multiplication,
    Subtraction,
    Division,
    Remainder,
    LeftShift,
    RightShift,
    BitwiseXor,
    BitwiseOr,
    BitwiseAnd,
    Assignment,
    AddAssign,
    DivAssign,
    MulAssign,
    RemAssign,
    ShrAssign,
    ShlAssign,
    SubAssign,
    BitOrAssign,
    BitAndAssign,
    BitXorAssign,
}

Variants

BooleanOr

The || operator for boolean OR

BooleanAnd

The && operator for boolean AND

EqualityTest

The == operator for equality testing

NegatedEqualityTest

The != operator for equality testing

LesserEqualTest

The <= operator for lesser-equal testing

GreaterEqualTest

The >= operator for greater-equal testing

LesserTest

The < operator for comparison

GreaterTest

The > operator for comparison

Addition

The + operator for addition

Multiplication

The * operator for multiplication

Subtraction

The - operator for subtraction

Division

The / operator for division

Remainder

The % operator for remainder after division

LeftShift

The << operator for left shift

RightShift

The >> operator for right shift

BitwiseXor

The ^ operator for bitwise XOR

BitwiseOr

The | operator for bitwise OR

BitwiseAnd

The & operator for bitwise AND

Assignment

The = operator for assignment

AddAssign

The += operator for assignment after addition

DivAssign

The /= operator for assignment after division

MulAssign

The *= operator for assignment after multiplication

RemAssign

The %= operator for assignment after remainders

ShrAssign

The >>= operator for assignment after shifting right

ShlAssign

The <<= operator for assignment after shifting left

SubAssign

The -= operator for assignment after subtraction

BitOrAssign

The |= operator for assignment after bitwise OR

BitAndAssign

The &= operator for assignment after bitwise AND

BitXorAssign

The ^= operator for assignment after bitwise XOR

Implementations

impl BinOp[src]

pub fn is_assignment(self) -> bool[src]

Trait Implementations

impl Clone for BinOp[src]

impl Copy for BinOp[src]

impl Debug for BinOp[src]

impl Eq for BinOp[src]

impl Hash for BinOp[src]

impl PartialEq<BinOp> for BinOp[src]

impl StructuralEq for BinOp[src]

impl StructuralPartialEq for BinOp[src]

Auto Trait Implementations

impl RefUnwindSafe for BinOp

impl Send for BinOp

impl Sync for BinOp

impl Unpin for BinOp

impl UnwindSafe for BinOp

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.