pub struct Runtime {
pub stack: Vec<Variable>,
pub call_stack: Vec<(Arc<String>, usize, usize)>,
pub local_stack: Vec<(Arc<String>, usize)>,
pub functions: Arc<HashMap<Arc<String>, Function>>,
pub ret: Arc<String>,
pub rng: ThreadRng,
}
Fields§
§stack: Vec<Variable>
§call_stack: Vec<(Arc<String>, usize, usize)>
name, stack_len, local_len, returns.
local_stack: Vec<(Arc<String>, usize)>
§functions: Arc<HashMap<Arc<String>, Function>>
§ret: Arc<String>
§rng: ThreadRng
Implementations§
Auto Trait Implementations§
impl Freeze for Runtime
impl !RefUnwindSafe for Runtime
impl !Send for Runtime
impl !Sync for Runtime
impl Unpin for Runtime
impl !UnwindSafe for Runtime
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