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§

source

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.

Implementations on Foreign Types§

source§

impl AddTwoStageAsset for App

Implementors§