Trait EvalNamespace

Source
pub trait EvalNamespace {
    // Required method
    fn lookup(
        &mut self,
        name: &str,
        args: Vec<f64>,
        keybuf: &mut String,
    ) -> Option<f64>;
}
Expand description

All fasteval Namespaces must implement the EvalNamespace trait.

Required Methods§

Source

fn lookup( &mut self, name: &str, args: Vec<f64>, keybuf: &mut String, ) -> Option<f64>

Perform a variable/function lookup.

May return cached values.

Implementors§