pub trait AssetCollectionWorld {
// Required method
fn init_collection<A: AssetCollection>(&mut self);
}
Expand description
Extension trait for World
enabling initialisation of asset collections
Required Methods§
sourcefn init_collection<A: AssetCollection>(&mut self)
fn init_collection<A: AssetCollection>(&mut self)
Initialise an AssetCollection
This function does not give any guaranties about the loading status of the asset handles.
If you want such guaranties, use a LoadingState
.
Object Safety§
This trait is not object safe.