pub struct Environment { /* private fields */ }Implementations§
Source§impl Environment
impl Environment
pub fn new() -> Environment
pub fn pop_lib(&mut self) -> Scope
pub fn push_lib(&mut self, c: Scope)
pub fn has(&self, key: &str) -> bool
pub fn get(&self, key: &str) -> SXRef
pub fn pop(&mut self) -> Scope
pub fn push(&mut self, c: Scope)
pub fn set(&mut self, key: String, val: SXRef)
pub fn delete(&mut self, key: &str)
pub fn defun(&mut self, key: String, val: SXRef)
Trait Implementations§
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