pub enum ContinuationFrame {
ApplyBinop {
op: BinopKind,
operand: u64,
},
StoreResult {
var: String,
},
PrintResult,
}Expand description
An explicit continuation frame.
Variants§
ApplyBinop
Apply a binary operation to the top of the value stack and this operand.
StoreResult
Store the result in the named variable.
PrintResult
Print the result.
Trait Implementations§
Source§impl Clone for ContinuationFrame
impl Clone for ContinuationFrame
Source§fn clone(&self) -> ContinuationFrame
fn clone(&self) -> ContinuationFrame
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContinuationFrame
impl RefUnwindSafe for ContinuationFrame
impl Send for ContinuationFrame
impl Sync for ContinuationFrame
impl Unpin for ContinuationFrame
impl UnsafeUnpin for ContinuationFrame
impl UnwindSafe for ContinuationFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more