Trait tera::Test[][src]

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

The tester function type definition

Required methods

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

The tester function type definition

Implementors

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

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