Trait tera::Function[][src]

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

    fn is_safe(&self) -> bool { ... }
}
Expand description

The global function type definition

Required methods

The global function type definition

Provided methods

Whether the current function’s output should be treated as safe, defaults to false

Implementors