Trait libre_pvz_resources::loader::AddTwoStageAsset
source · pub trait AddTwoStageAsset {
// Required method
fn add_two_stage_asset<T: TwoStageAsset>(&mut self) -> &mut Self;
}
Expand description
Extension to the App
API for adding two-stage asset loaders.
Required Methods§
sourcefn add_two_stage_asset<T: TwoStageAsset>(&mut self) -> &mut Self
fn add_two_stage_asset<T: TwoStageAsset>(&mut self) -> &mut Self
Register a two-stage asset to the app.
Object Safety§
This trait is not object safe.