Skip to main content

LocalBindingFinder

Type Alias LocalBindingFinder 

Source
pub type LocalBindingFinder = Rc<dyn Fn(&str) -> Option<String>>;
Expand description

Finds the binding file a user supplied for a request in the local search paths (a runtime .rhai beside the document or in a --path directory), which the resolving chain loads ahead of every compiled binding, as Perl’s FindFile_aux takes the first <file>.ltxml of SEARCHPATHS before the installed ones (Package.pm:2127-2129). Installed with the chain (converter::install_binding_dispatch).

Aliased Type§

pub struct LocalBindingFinder { /* private fields */ }