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§

source

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.

Implementations on Foreign Types§

source§

impl AssetCollectionWorld for World

Implementors§