pub struct Environment { /* private fields */ }
Expand description
A wrapper around the stored values obtained during evaluation.
Implementations§
Source§impl Environment
impl Environment
Sourcepub fn new() -> Environment
pub fn new() -> Environment
Construct a new blank environment.
Sourcepub fn new_enclosed_environment(outer: &Env) -> Environment
pub fn new_enclosed_environment(outer: &Env) -> Environment
Constructs a new enclosed environment within the outer environment.
Trait Implementations§
Source§impl Debug for Environment
impl Debug for Environment
Source§impl Default for Environment
impl Default for Environment
Source§fn default() -> Environment
fn default() -> Environment
Returns the “default value” for a type. Read more
Source§impl PartialEq for Environment
impl PartialEq for Environment
impl Eq for Environment
impl StructuralPartialEq for Environment
Auto Trait Implementations§
impl Freeze for Environment
impl !RefUnwindSafe for Environment
impl !Send for Environment
impl !Sync for Environment
impl Unpin for Environment
impl !UnwindSafe for Environment
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