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
Evaluate step function and leave it on the value stack.
Transitions to 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.
Temporal step function is ready to iterate.
Transitions to PostTemporalCall
.
Show fields
Fields of PreTemporalCall
Step function is ready to call.
Transitions to PostCall
.
Show fields
Fields of PreCall
step_function: RantFunctionRef
args: Vec<RantValue>
Step function has returned and output can be used.
Temporal step function has iterated and output can be used.
Might transition to PreTemporalCall
.
Show fields
Fields of PostTemporalCall
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for InvokeComposedStepState
impl !RefUnwindSafe for InvokeComposedStepState
impl !Send for InvokeComposedStepState
impl !Send for InvokeComposedStepState
impl !Sync for InvokeComposedStepState
impl !Sync for InvokeComposedStepState
impl Unpin for InvokeComposedStepState
impl Unpin for InvokeComposedStepState
impl !UnwindSafe for InvokeComposedStepState
impl !UnwindSafe for InvokeComposedStepState