Trait Function
tera
pub trait Function: Sync + Send { fn call(&self, args: &HashMap<String, Value>) -> Result<Value>; }
The global function type definition
fn call(&self, args: &HashMap<String, Value>) -> Result<Value>
impl<F> Function for F where F: Fn(&HashMap<String, Value>) -> Result<Value> + Sync + Send,