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