pub fn make_external_func<F: Fn(&mut ExecutionState<'_>, &[Value]) -> Option<Value> + Clone + Send + Sync>(
f: F,
) -> impl ExternalFunctionExpand description
Automatically generate an ExternalFunction implementation from a function.
pub fn make_external_func<F: Fn(&mut ExecutionState<'_>, &[Value]) -> Option<Value> + Clone + Send + Sync>(
f: F,
) -> impl ExternalFunctionAutomatically generate an ExternalFunction implementation from a function.