Function expry::expry_slice_func
source · [−]pub fn expry_slice_func<'a, 'b, 'c>(
bytecode: BytecodeRef<'b>,
value: ValueRef<'b>,
allocator: &'a mut MemoryScope<'c>,
funcs: &'a mut dyn CustomFuncs
) -> Result<ValueRef<'b>, EvalError<'b>> where
'c: 'b,
'b: 'a,
Expand description
Evaluate expression bytecode in the context of the given value
, resulting in an encoded
object. This version supports custom user defined functions.
This object can be directly transfered over a wire.
This version is cheaper because values can be included directly in encoded form, so a decoding step is skipped.