Trait tera::Function [−][src]
pub trait Function: Sync + Send { fn call(&self, args: &HashMap<String, Value>) -> Result<Value>; fn is_safe(&self) -> bool { ... } }
The global function type definition
Required methods
fn call(&self, args: &HashMap<String, Value>) -> Result<Value>
[src]
The global function type definition
Provided methods
fn is_safe(&self) -> bool
[src]
Whether the current function’s output should be treated as safe, defaults to false