[][src]Trait tera::Test

pub trait Test: Sync + Send {
    fn test(&self, value: Option<&Value>, args: &[Value]) -> Result<bool>;
}

The tester function type definition

Required methods

fn test(&self, value: Option<&Value>, args: &[Value]) -> Result<bool>

The tester function type definition

Loading content...

Implementors

impl<F> Test for F where
    F: Fn(Option<&Value>, &[Value]) -> Result<bool> + Sync + Send
[src]

Loading content...