Trait tera::Test

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

The tester function type definition

Required Methods§

source

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

The tester function type definition

Implementors§

source§

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