You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any reason for fields of these wrappers being pub(crate)?
If there is, perhaps ResourceAsset::new(...) and BundleAsset::new(...) could still be added?
The text was updated successfully, but these errors were encountered:
Is there any reason for fields of these wrappers being pub(crate)? If there is, perhaps ResourceAsset::new(...) and BundleAsset::new(...) could still be added?
They're marked pub(crate) because it's not obvious to me when the end user of the library might need them. What's your use case that public modifiers were needed? Of course it is possible to add public constructors.
I have a custom asset loading system which is independent of AssetServer. But the only possible way to construct ResourceAsset and BundleAsset is implemented in this function:
Is there any reason for fields of these wrappers being
pub(crate)
?If there is, perhaps
ResourceAsset::new(...)
andBundleAsset::new(...)
could still be added?The text was updated successfully, but these errors were encountered: