pub trait NamedResourceBundleDecl: ResourceBundleDecl {
const NAMES: &'static [&'static str];
}Expand description
Optional name metadata for resource bundles.
Bundles created via bundle_resources! implement this automatically. The
derive macro uses these canonical slot names to resolve bundle.resource
bindings without guessing enum variant casing from config strings.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl NamedResourceBundleDecl for ThreadPoolBundle
Available on crate feature std only.
impl NamedResourceBundleDecl for ThreadPoolBundle
Available on crate feature
std only.