Struct ares::Environment
[−]
[src]
pub struct Environment { // some fields omitted }
pub struct Environment { // some fields omitted }
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
fn set_uneval_function<F>(&mut self, name: &str, f: F) where F: Fn(&mut Iterator<Item=&Value>, &Env, fn(&Value, &Env) -> Value) -> Value + 'static