Trait minijinja::tests::Test[][src]

pub trait Test<V = Value, Args = Vec<Value>>: Send + Sync + 'static {
    fn perform(
        &self,
        state: &State<'_, '_>,
        value: V,
        args: Args
    ) -> Result<bool, Error>; }
Expand description

A utility trait that represents filters.

Required methods

Performs a test to value with the given arguments.

Implementors