pub trait NamedResolver {
// Required method
fn resolve_by_name(&self, module: &str, field: &str) -> Option<Export>;
}
Expand description
Import resolver connects imports with available exported values.
This is a specific subtrait for Resolver
for those users who don’t
care about the index
, but only about the module
and field
for
the resolution.