pub struct Lenv { /* private fields */ }Implementations§
Source§impl Lenv
impl Lenv
pub fn push(&mut self, lookup: Lookup)
pub fn pop(&mut self) -> Option<Lookup>
pub fn peek(&self) -> Option<&Lookup>
pub fn peek_mut(&mut self) -> Option<&mut Lookup>
pub fn iter(&self) -> Iter<'_> ⓘ
pub fn insert(&mut self, key: &str, lval: Lval)
pub fn insert_last(&mut self, key: &str, lval: Lval)
pub fn get(&self, key: &str) -> Option<Lval>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lenv
impl RefUnwindSafe for Lenv
impl Send for Lenv
impl Sync for Lenv
impl Unpin for Lenv
impl UnwindSafe for Lenv
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