Trait minijinja::value::FunctionResult

source ·
pub trait FunctionResult { }
Expand description

A utility trait that represents the return value of functions and filters.

It’s implemented for the following types:

  • Rv where Rv implements Into<AnyMapObject>
  • Result<Rv, Error> where Rv implements Into<Value>

The equivalent for test functions is TestResult.

Implementations on Foreign Types§

source§

impl<I: Into<Value>> FunctionResult for Result<I, Error>

Implementors§