[][src]Enum solana_rbpf::insn_builder::Cond

pub enum Cond {
    Abs,
    Equals,
    Greater,
    GreaterEquals,
    Lower,
    LowerEquals,
    BitAnd,
    NotEquals,
    GreaterSigned,
    GreaterEqualsSigned,
    LowerSigned,
    LowerEqualsSigned,
}

Conditions for JMP instructions

Variants

Abs

Absolute or unconditional

Equals

Jump if ==

Greater

Jump if >

GreaterEquals

Jump if >=

Lower

Jump if <

LowerEquals

Jump if <=

BitAnd

Jump if src & dst

NotEquals

Jump if !=

GreaterSigned

Jump if > (signed)

GreaterEqualsSigned

Jump if >= (signed)

LowerSigned

Jump if < (signed)

LowerEqualsSigned

Jump if <= (signed)

Trait Implementations

impl Clone for Cond[src]

impl Copy for Cond[src]

impl PartialEq<Cond> for Cond[src]

impl StructuralPartialEq for Cond[src]

Auto Trait Implementations

impl RefUnwindSafe for Cond

impl Send for Cond

impl Sync for Cond

impl Unpin for Cond

impl UnwindSafe for Cond

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> 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.