Trait minijinja::filters::Filter[][src]

pub trait Filter<V = Value, Rv = Value, Args = Vec<Value>>: Send + Sync + 'static {
    fn apply_to(
        &self,
        env: &Environment<'_>,
        value: V,
        args: Args
    ) -> Result<Rv, Error>; }
Expand description

A utility trait that represents filters.

Required methods

Applies a filter to value with the given arguments.

Implementors