pub struct Scope {
pub inst: Option<Rc<RefCell<RecInst>>>,
pub locals: Rc<HashMap<String, Value>>,
pub root_name: String,
pub menv: Option<Rc<Env>>,
}Fields§
§inst: Option<Rc<RefCell<RecInst>>>§locals: Rc<HashMap<String, Value>>§root_name: String§menv: Option<Rc<Env>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Scope
impl !Send for Scope
impl !Sync for Scope
impl !UnwindSafe for Scope
impl Freeze for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
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