pub struct UntilCont {
pub body: RcCont,
pub after: RcCont,
}
Expand description
Continuation of a loop with postcondition.
Fields§
§body: RcCont
§after: RcCont
Trait Implementations§
Source§impl Cont for UntilCont
impl Cont for UntilCont
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 Store for UntilCont
impl Store for UntilCont
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 UntilCont
impl !RefUnwindSafe for UntilCont
impl !Send for UntilCont
impl !Sync for UntilCont
impl Unpin for UntilCont
impl !UnwindSafe for UntilCont
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