[][src]Trait bevy_asset::AddAsset

pub trait AddAsset {
    fn add_asset<T>(&mut self) -> &mut Self
    where
        T: Asset
;
fn init_asset_loader<T>(&mut self) -> &mut Self
    where
        T: AssetLoader + FromResources
;
fn add_asset_loader<T>(&mut self, loader: T) -> &mut Self
    where
        T: AssetLoader
; }

AppBuilder extension methods for adding new asset types

Required methods

fn add_asset<T>(&mut self) -> &mut Self where
    T: Asset

fn init_asset_loader<T>(&mut self) -> &mut Self where
    T: AssetLoader + FromResources

fn add_asset_loader<T>(&mut self, loader: T) -> &mut Self where
    T: AssetLoader

Loading content...

Implementations on Foreign Types

impl AddAsset for AppBuilder[src]

Loading content...

Implementors

Loading content...