Trait rocket_dyn_templates::tera::Function
source · [−]pub trait Function: Sync + Send {
fn call(
&self,
args: &HashMap<String, Value, RandomState>
) -> Result<Value, Error>;
fn is_safe(&self) -> bool { ... }
}
Expand description
The global function type definition