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

pub enum BinOp {
Show variants 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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.