Struct ruschm::environment::LexicalScope [−][src]
pub struct LexicalScope<V> { /* fields omitted */ }
Implementations
impl<V> LexicalScope<V>
[src]
impl<V> LexicalScope<V>
[src]pub fn new() -> Self
[src]
pub fn new_child(parent: Rc<LexicalScope<V>>) -> Self
[src]
pub fn define(&self, name: String, value: V)
[src]
pub fn get(&self, name: &str) -> Option<Ref<'_, V>>
[src]
pub fn get_mut(&self, name: &str) -> Option<RefMut<'_, V>>
[src]
pub fn set(&self, name: &str, value: V) -> Result<(), SchemeError>
[src]
pub fn iter_local_definitions<'a, 'b: 'a>(
&'b self
) -> RefVal<'a, DefinitionIter<'b, V>>
[src]
&'b self
) -> RefVal<'a, DefinitionIter<'b, V>>
Trait Implementations
impl<V: Clone> Clone for LexicalScope<V>
[src]
impl<V: Clone> Clone for LexicalScope<V>
[src]fn clone(&self) -> LexicalScope<V>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<V: PartialEq> PartialEq<LexicalScope<V>> for LexicalScope<V>
[src]
impl<V: PartialEq> PartialEq<LexicalScope<V>> for LexicalScope<V>
[src]fn eq(&self, other: &LexicalScope<V>) -> bool
[src]
fn ne(&self, other: &LexicalScope<V>) -> bool
[src]
impl<V> StructuralPartialEq for LexicalScope<V>
[src]
impl<V> StructuralPartialEq for LexicalScope<V>
[src]Auto Trait Implementations
impl<V> !RefUnwindSafe for LexicalScope<V>
impl<V> !RefUnwindSafe for LexicalScope<V>
impl<V> !Send for LexicalScope<V>
impl<V> !Send for LexicalScope<V>
impl<V> !Sync for LexicalScope<V>
impl<V> !Sync for LexicalScope<V>
impl<V> Unpin for LexicalScope<V> where
V: Unpin,
impl<V> Unpin for LexicalScope<V> where
V: Unpin,
impl<V> !UnwindSafe for LexicalScope<V>
impl<V> !UnwindSafe for LexicalScope<V>