logo
pub trait AddAsset {
    fn add_asset<T>(&mut self) -> &mut Self
    where
        T: Asset
; fn add_debug_asset<T>(&mut self) -> &mut Self
    where
        T: Clone + Asset
; fn init_asset_loader<T>(&mut self) -> &mut Self
    where
        T: AssetLoader + FromWorld
; fn init_debug_asset_loader<T>(&mut self) -> &mut Self
    where
        T: AssetLoader + FromWorld
; fn add_asset_loader<T>(&mut self, loader: T) -> &mut Self
    where
        T: AssetLoader
; }
Expand description

App extension methods for adding new asset types

Required Methods

Implementors