[−][src]Trait tera::Filter
The filter function type definition
Required methods
pub fn filter(
&self,
value: &Value,
args: &HashMap<String, Value>
) -> Result<Value>
[src]
&self,
value: &Value,
args: &HashMap<String, Value>
) -> Result<Value>
The filter function type definition
Provided methods
pub fn is_safe(&self) -> bool
[src]
Whether the current filter's output should be treated as safe, defaults to false
Implementors
impl<F> Filter for F where
F: Fn(&Value, &HashMap<String, Value>) -> Result<Value> + Sync + Send,
[src]
F: Fn(&Value, &HashMap<String, Value>) -> Result<Value> + Sync + Send,