pub struct PushIntCont {
pub value: i32,
pub next: RcCont,
}Expand description
Continuation that pushes a single integer to the stack.
Fields§
§value: i32§next: RcContTrait Implementations§
Source§impl Clone for PushIntCont
impl Clone for PushIntCont
Source§fn clone(&self) -> PushIntCont
fn clone(&self) -> PushIntCont
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 moreSource§impl Cont for PushIntCont
impl Cont for PushIntCont
fn rc_into_dyn(self: Rc<Self>) -> Rc<dyn StackValue>
fn as_stack_value(&self) -> &dyn StackValue
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn jump( self: Rc<Self>, state: &mut VmState<'_>, _: &mut i32, ) -> VmResult<Option<RcCont>>
fn get_control_data(&self) -> Option<&ControlData>
fn get_control_data_mut(&mut self) -> Option<&mut ControlData>
Source§impl Debug for PushIntCont
impl Debug for PushIntCont
Source§impl Load<'_> for PushIntCont
impl Load<'_> for PushIntCont
Source§impl Store for PushIntCont
impl Store for PushIntCont
Source§fn store_into(
&self,
builder: &mut CellBuilder,
context: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
Auto Trait Implementations§
impl Freeze for PushIntCont
impl !RefUnwindSafe for PushIntCont
impl !Send for PushIntCont
impl !Sync for PushIntCont
impl Unpin for PushIntCont
impl !UnwindSafe for PushIntCont
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