[][src]Enum rune::ast::BinOp

pub enum BinOp {
    Add,
    AddAssign,
    Sub,
    SubAssign,
    Div,
    DivAssign,
    Mul,
    MulAssign,
    Rem,
    Eq,
    Neq,
    Gt,
    Lt,
    Gte,
    Lte,
    Is,
    IsNot,
    Assign,
    And,
    Or,
}

A binary operation.

Variants

Add

Addition.

AddAssign

Add assign operation.

Sub

Subtraction.

SubAssign

Sub assign operation.

Div

Division.

DivAssign

Div assign operation.

Mul

Multiplication.

MulAssign

Multiply assign operation.

Rem

Remainder operator.

Eq

Equality check.

Neq

Inequality check.

Gt

Greater-than check.

Lt

Less-than check.

Gte

Greater-than or equal check.

Lte

Less-than or equal check.

Is

The is test.

IsNot

The is not test.

Assign

Assign operator.

And

And && operator.

Or

Or || operator.

Trait Implementations

impl Clone for BinOp[src]

impl Copy for BinOp[src]

impl Debug for BinOp[src]

impl Display for BinOp[src]

impl Eq for BinOp[src]

impl Hash for BinOp[src]

impl Ord for BinOp[src]

impl PartialEq<BinOp> for BinOp[src]

impl PartialOrd<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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,