Struct jmespath::functions::CustomFunction
[−]
[src]
pub struct CustomFunction { /* fields omitted */ }
Custom function that allows the creation of runtime functions with signature validation.
Methods
impl CustomFunction
[src]
fn new(
fn_signature: Signature,
f: Box<Fn(&[Rcvar], &mut Context) -> Result<Rcvar, JmespathError> + Sync>
) -> CustomFunction
fn_signature: Signature,
f: Box<Fn(&[Rcvar], &mut Context) -> Result<Rcvar, JmespathError> + Sync>
) -> CustomFunction
Creates a new custom function.