Trait minijinja::value::ValueArgs[][src]

pub trait ValueArgs: Sized {
    fn from_values(values: Vec<Value>) -> Result<Self, Error>;
}
Expand description

Helper trait representing valid filter and test arguments.

Since it’s more convenient to write filters and tests with concrete types instead of values, this helper trait exists to automatically perform this conversion.

Required methods

Converts to function arguments from a slice of values.

Implementations on Foreign Types

Implementors