[][src]Trait bevy_asset::AddAsset

pub trait AddAsset {
    fn add_asset<T>(&mut self) -> &mut Self
    where
        T: Send + Sync + 'static
;
fn add_asset_loader<TAsset, TLoader>(&mut self) -> &mut Self
    where
        TLoader: AssetLoader<TAsset> + FromResources,
        TAsset: Send + Sync + 'static
; }

AppBuilder extension methods for adding new asset types

Required methods

fn add_asset<T>(&mut self) -> &mut Self where
    T: Send + Sync + 'static, 

fn add_asset_loader<TAsset, TLoader>(&mut self) -> &mut Self where
    TLoader: AssetLoader<TAsset> + FromResources,
    TAsset: Send + Sync + 'static, 

Loading content...

Implementations on Foreign Types

impl AddAsset for AppBuilder[src]

Loading content...

Implementors

Loading content...