[][src]Trait tera::Filter

pub trait Filter: Sync + Send {
    fn filter(
        &self,
        value: &Value,
        args: &HashMap<String, Value>
    ) -> Result<Value>; }

The filter function type definition

Required methods

fn filter(&self, value: &Value, args: &HashMap<String, Value>) -> Result<Value>

The filter function type definition

Loading content...

Implementors

impl<F> Filter for F where
    F: Fn(&Value, &HashMap<String, Value>) -> Result<Value> + Sync + Send
[src]

Loading content...