Trait expry::CustomFuncs
source · pub trait CustomFuncs<'a> {
// Required methods
fn call<'b, 'c>(
&self,
name: &[u8],
args: &[DecodedValue<'b>],
scope: &mut MemoryScope<'c>
) -> Result<DecodedValue<'b>, &'b str>
where 'c: 'b,
'a: 'b;
fn types(&self) -> BTreeMap<Key<'static>, (Vec<ExpryType>, ExpryType)>;
}
Expand description
Trait that can be used to pass a custom user-provided function handler to expry
eval functions.