Struct Stack Copy item path Source pub struct Stack {
pub values: Vec <Value >,
}Expand description § The operand stack
StackAssembly’s evaluation model is based on an implicit stack which
stores all operands.
Aside from this, the stack is an important communication channel between
script and host. Please refer to Eval ’s stack field for more
information on that.
§ Push a value to top of the stack§ Pop a value from the top of the stack
Return StackUnderflow , if no value is available on the stack, which
provides an automatic conversion to Effect .
§ Access the stack as a slice of i32 values§ Access the stack as a slice of u32 valuesFormats the value using the given formatter.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.