Enum panopticon_core::il::Guard [] [src]

pub enum Guard {
    True,
    False,
    Predicate {
        flag: Rvalue,
        expected: bool,
    },
}

Branch condition

Variants

Guard is constant true

Guard is constant false

Guard depends on a one bit RREIL value.

Fields of Predicate

Flag value. Must be 0 or 1.

Expected value of flag. If flag is 1 and expected is true or if flag is 1 and expected is true the guard is true. Otherwise its false.

Methods

impl Guard
[src]

[src]

Create a guard that is true if f is 1.

[src]

Guard that is always false

[src]

Guard that is always true

[src]

Negation of self

Trait Implementations

impl Clone for Guard
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Guard
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Guard
[src]

impl Debug for Guard
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Guard
[src]

[src]

Formats the value using the given formatter. Read more