[−][src]Enum lincoln_ir::Entry
5 types of entries correspond to 5 different instructions the use type.
Jmp: permutate the context to have specific order, then jump to another entry (not a group!)
Call: keep a specific amount of values from context, then build a closure with the rest, and add the closure into the context. Finally, jump to another entry.
Ret: The first variable must be a closure to extract the context. The specified variant of the closure group entry will be invoked.
Group: Define a group of entries. Being used to create closures.
Extern: Denotes a function that to be executed in the outside world.
Variants
Jmp
Fields of Jmp
cont: EntryRef
per: Permutation
Call
Fields of Call
Ret
Fields of Ret
variant: u8
Group
Fields of Group
Extern
Fields of Extern
name: String
Trait Implementations
impl Display for Entry
[src]
impl Debug for Entry
[src]
impl Serialize for Entry
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Entry
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> AnyDebugDisplay for T where
T: Any + Debug + Display,
[src]
T: Any + Debug + Display,