pub struct Environment<'a> { /* private fields */ }
Expand description
The environment that the lisp is operating in.
The data
field contains a hashmap of Strings -> Expressions
for the interpreter
Implementations§
Source§impl<'a> Environment<'a>
impl<'a> Environment<'a>
pub fn empty() -> Environment<'a>
Trait Implementations§
Source§impl<'a> Clone for Environment<'a>
impl<'a> Clone for Environment<'a>
Source§fn clone(&self) -> Environment<'a>
fn clone(&self) -> Environment<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Default for Environment<'a>
impl<'a> Default for Environment<'a>
Source§fn default() -> Environment<'a>
fn default() -> Environment<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for Environment<'a>
impl<'a> !RefUnwindSafe for Environment<'a>
impl<'a> !Send for Environment<'a>
impl<'a> !Sync for Environment<'a>
impl<'a> Unpin for Environment<'a>
impl<'a> !UnwindSafe for Environment<'a>
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