Macro vm_resource::register_static_resolvers

source ยท
macro_rules! register_static_resolvers {
    {} => { ... };
    { $( $(#[$a:meta])* $resolver:ty ),+ $(,)? } => { ... };
}
Expand description

Registers a static resolver, declared via declare_static_resolver or declare_static_async_resolver, so that it is automatically available to any ResourceResolver in the binary.