pub struct RunConfig { /* private fields */ }Expand description
Configuration that can be run. This maintains the snapshot of the state of the machine, such as the current instruction pointer, current memory contents, the function stack, etc.
Implementations§
Source§impl RunConfig
impl RunConfig
Sourcepub fn push_value<F>(&mut self, f: F)where
StackValue: From<F>,
pub fn push_value<F>(&mut self, f: F)where
StackValue: From<F>,
Push a value to the configuration’s stack. This is typically used when the interrupt produced a response.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunConfig
impl RefUnwindSafe for RunConfig
impl Send for RunConfig
impl Sync for RunConfig
impl Unpin for RunConfig
impl UnwindSafe for RunConfig
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