[][src]Enum ttk91::instruction::JumpCondition

pub enum JumpCondition {
    Unconditional,
    Positive,
    Negative,
    Zero,
    Equal,
    Less,
    Greater,
}

Describes the predicate for a (un)conditional jump instruction.

These conditions can be negated with the Jump opcode's negated field.

Variants

Unconditional

Unconditional jump. (JUMP)

Positive

Jump if the first operand is positive. (JPOS)

Negative

Jump if the first operand is negative. (JNEG)

Zero

Jump if the first operand is zero. (JZER)

Equal

Jump if the equal-flag is set. (JEQU)

Less

Jump if the less-flag is set. (JLES)

Greater

Jump if the greater-flag is set. (JLES)

Trait Implementations

impl Clone for JumpCondition[src]

impl Copy for JumpCondition[src]

impl Debug for JumpCondition[src]

impl PartialEq<JumpCondition> for JumpCondition[src]

impl StructuralPartialEq for JumpCondition[src]

Auto Trait Implementations

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> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[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.