Struct ares::Environment
[−]
[src]
pub struct Environment { /* fields omitted */ }
Methods
impl Environment
[src]
fn new() -> Environment
fn get(&self, name: &str) -> Option<Value>
fn insert(&mut self, name: String, value: Value) -> Option<Value>
fn set_function<F>(&mut self, name: &str, f: F) where
F: Fn(&mut Iterator<Item = Value>) -> Value + 'static,
F: Fn(&mut Iterator<Item = Value>) -> Value + 'static,
fn set_uneval_function<F>(&mut self, name: &str, f: F) where
F: Fn(&mut Iterator<Item = &Value>, &Rc<RefCell<Environment>>, fn(_: &Value, _: &Rc<RefCell<Environment>>) -> Value) -> Value + 'static,
F: Fn(&mut Iterator<Item = &Value>, &Rc<RefCell<Environment>>, fn(_: &Value, _: &Rc<RefCell<Environment>>) -> Value) -> Value + 'static,