Enum rant::runtime::InvokeComposedStepState[][src]

pub enum InvokeComposedStepState {
    EvaluatingFunc,
    EvaluatingArgs {
        num_evaluated: usize,
    },
    PreTemporalCall {
        step_function: RantFunctionRef,
        temporal_state: TemporalSpreadState,
        args: Vec<RantValue>,
    },
    PreCall {
        step_function: RantFunctionRef,
        args: Vec<RantValue>,
    },
    PostCall,
    PostTemporalCall {
        step_function: RantFunctionRef,
        temporal_state: TemporalSpreadState,
        args: Vec<RantValue>,
    },
}

States for the InvokeComposedStep intent.

Variants

EvaluatingFunc

Evaluate step function and leave it on the value stack.

Transitions to EvaluatingArgs.

EvaluatingArgs

Evaluate argument expressions, then pop them off the value stack. Then, before transitioning, pop the function off the value stack and store it.

Transitions to PreCall or PreTemporalCall.

Show fields

Fields of EvaluatingArgs

num_evaluated: usize

Number of arguments that have already been evaluated.

PreTemporalCall

Temporal step function is ready to iterate.

Transitions to PostTemporalCall.

Show fields

Fields of PreTemporalCall

step_function: RantFunctionReftemporal_state: TemporalSpreadStateargs: Vec<RantValue>
PreCall

Step function is ready to call.

Transitions to PostCall.

Show fields

Fields of PreCall

step_function: RantFunctionRefargs: Vec<RantValue>
PostCall

Step function has returned and output can be used.

PostTemporalCall

Temporal step function has iterated and output can be used.

Might transition to PreTemporalCall.

Show fields

Fields of PostTemporalCall

step_function: RantFunctionReftemporal_state: TemporalSpreadStateargs: Vec<RantValue>

Trait Implementations

impl Debug for InvokeComposedStepState[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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,