pub struct InterpretCtx {
pub env: Environment,
pub sequence: VecDeque<Effect<()>>,
}Expand description
Context passed to the effect interpreter inside runtime.rs.
Fields§
§env: Environment§sequence: VecDeque<Effect<()>>Implementations§
Source§impl InterpretCtx
impl InterpretCtx
pub fn new(env: Environment) -> Self
Trait Implementations§
Source§impl Clone for InterpretCtx
impl Clone for InterpretCtx
Source§fn clone(&self) -> InterpretCtx
fn clone(&self) -> InterpretCtx
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InterpretCtx
impl Debug for InterpretCtx
Source§impl Default for InterpretCtx
impl Default for InterpretCtx
Source§fn default() -> InterpretCtx
fn default() -> InterpretCtx
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for InterpretCtx
impl !UnwindSafe for InterpretCtx
impl Freeze for InterpretCtx
impl Send for InterpretCtx
impl Sync for InterpretCtx
impl Unpin for InterpretCtx
impl UnsafeUnpin for InterpretCtx
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