[][src]Enum isla_lib::ir::LabeledInstr

pub enum LabeledInstr<B> {
    Labeled(usizeInstr<Name, B>),
    Unlabeled(Instr<Name, B>),
}

By default each jump or goto just contains a usize offset into the instruction vector. This representation is hard to work with, so we support mapping this representation into one where any instruction can have an explicit label, and jumps point to those explicit labels, and then going back to the offset based representation for execution.

Variants

Labeled(usizeInstr<Name, B>)
Unlabeled(Instr<Name, B>)

Trait Implementations

impl<B: Debug> Debug for LabeledInstr<B>[src]

Auto Trait Implementations

impl<B> RefUnwindSafe for LabeledInstr<B>

impl<B> Send for LabeledInstr<B>

impl<B> Sync for LabeledInstr<B>

impl<B> Unpin for LabeledInstr<B>

impl<B> UnwindSafe for LabeledInstr<B>

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> Same<T> for T

type Output = T

Should always be Self

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.