[][src]Enum peepmatic_runtime::cc::ConditionCode

#[repr(u32)]pub enum ConditionCode {
    Eq,
    Ne,
    Slt,
    Ult,
    Sge,
    Uge,
    Sgt,
    Ugt,
    Sle,
    Ule,
    Of,
    Nof,
}

A condition code.

This is a special kind of immediate for icmp instructions that dictate which parts of the comparison result we care about.

Variants

Eq

Equal.

Ne

Not equal.

Slt

Signed less than.

Ult

Unsigned less than.

Sge

Signed greater than or equal.

Uge

Unsigned greater than or equal.

Sgt

Signed greater than.

Ugt

Unsigned greater than.

Sle

Signed less than or equal.

Ule

Unsigned less than or equal.

Of

Overflow.

Nof

No overflow.

Trait Implementations

impl Clone for ConditionCode[src]

impl Copy for ConditionCode[src]

impl Debug for ConditionCode[src]

impl<'de> Deserialize<'de> for ConditionCode[src]

impl Display for ConditionCode[src]

impl Eq for ConditionCode[src]

impl<I> From<ConditionCode> for Part<I> where
    I: Copy + Debug + Eq
[src]

impl Hash for ConditionCode[src]

impl PartialEq<ConditionCode> for ConditionCode[src]

impl Serialize for ConditionCode[src]

impl StructuralEq for ConditionCode[src]

impl StructuralPartialEq for ConditionCode[src]

impl TryFrom<u32> for ConditionCode[src]

type Error = &'static str

The type returned in the event of a conversion error.

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.