pub type EnvRef = Rc<RefCell<Environment>>;Expand description
The EnvRef type is a reference-counted, mutable reference to an Environment.
The Rc type is used to allow multiple references to the same Environment. This
is useful when creating a tree of environments, where each environment can lookup
all the variables and functions of it’s parent enviornment.
The RefCell type is used to allow the Environment to be mutable, even when it
is shared between multiple references.
Aliased Type§
pub struct EnvRef { /* private fields */ }