pub fn native_dispatcher(
f: impl Fn(&str) -> Option<Result<()>> + 'static,
) -> ResolvingBindingDispatcherExpand description
Lift a native (compiled-in) binding dispatcher — one with no source file
to name — into a ResolvingBindingDispatcher: a successful load reports
None source, so the caller announces it by its module-proxy name. Pairs
with the runtime rhai_dispatch tier, which reports the real .rhai path.