Struct netidx_bscript::vm::ExecCtx
source · [−]pub struct ExecCtx<C: Ctx + 'static, E: 'static> {
pub functions: FxHashMap<String, InitFn<C, E>>,
pub variables: FxHashMap<Path, FxHashMap<Chars, Value>>,
pub dbg_ctx: DbgCtx,
pub user: C,
}
Fields
functions: FxHashMap<String, InitFn<C, E>>
variables: FxHashMap<Path, FxHashMap<Chars, Value>>
dbg_ctx: DbgCtx
user: C
Implementations
Auto Trait Implementations
impl<C, E> !RefUnwindSafe for ExecCtx<C, E>
impl<C, E> Send for ExecCtx<C, E> where
C: Send,
impl<C, E> Sync for ExecCtx<C, E> where
C: Sync,
impl<C, E> Unpin for ExecCtx<C, E> where
C: Unpin,
impl<C, E> !UnwindSafe for ExecCtx<C, E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more