[][src]Trait tera::Function

pub trait Function: Sync + Send {
    fn call(&self, args: &HashMap<String, Value>) -> Result<Value>;
}

The global function type definition

Required methods

fn call(&self, args: &HashMap<String, Value>) -> Result<Value>

The global function type definition

Loading content...

Implementors

impl<F> Function for F where
    F: Fn(&HashMap<String, Value>) -> Result<Value> + Sync + Send
[src]

Loading content...