[][src]Enum ssa::dfg::Operator

pub enum Operator {
    Equal,
    Other,
}

Operator in an assignment statement

  • Operator::Equal : the variable in LHS clears it own value and create a data dependency on all variables in RHS
x = y;
KILL(x), USE(Y)
```javascript
- `Operator::Other` : the variable in LHS is modified by using both its value and
RHS
```javascript
x += y;
USE(x), USE(y)

Variants

Equal

Operator =

Other

Other operators: |=, ^=, &=, <<=, >>=, +=, -=, *=, /=, %=

Trait Implementations

impl Eq for Operator[src]

impl PartialEq<Operator> for Operator[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Debug for Operator[src]

Auto Trait Implementations

impl Send for Operator

impl Sync for Operator

Blanket Implementations

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

impl<T> From<T> for T[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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