Trait minijinja::tests::TestResult

source ·
pub trait TestResult { }
Expand description

A utility trait that represents the return value of filters.

It’s implemented for the following types:

  • bool
  • Result<bool, Error>

The equivalent for filters or functions is FunctionResult.

Implementations on Foreign Types§

source§

impl TestResult for Result<bool, Error>

source§

impl TestResult for bool

Implementors§