Struct selfish::EnvironmentStruct
[−]
[src]
pub struct EnvironmentStruct { /* fields omitted */ }
Methods
impl EnvironmentStruct
[src]
fn new(outer: Option<Environment>) -> Environment
fn top(env: &Environment) -> Environment
fn with_bindings(
outer: Option<Environment>,
binds: Vec<String>,
exprs: Vec<Value>
) -> Result<Environment, BindError>
outer: Option<Environment>,
binds: Vec<String>,
exprs: Vec<Value>
) -> Result<Environment, BindError>
fn set(&mut self, key: String, val: Value)
fn find(&self, key: String) -> Option<Environment>
fn get(&self, key: String) -> LispResult
Trait Implementations
impl Clone for EnvironmentStruct
[src]
fn clone(&self) -> EnvironmentStruct
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for EnvironmentStruct
[src]
impl PartialEq for EnvironmentStruct
[src]
fn eq(&self, __arg_0: &EnvironmentStruct) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EnvironmentStruct) -> bool
This method tests for !=
.