[][src]Trait bevy::prelude::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
        TAsset: Send + Sync + 'static,
        TLoader: AssetLoader<TAsset> + FromResources
; }

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
    TAsset: Send + Sync + 'static,
    TLoader: AssetLoader<TAsset> + FromResources

Loading content...

Implementors

impl AddAsset for AppBuilder[src]

Loading content...