Trait de_objects::collection::AssetCollection
source · pub trait AssetCollection {
type Key;
type Asset: Asset;
// Required method
fn get(&self, scene_type: Self::Key) -> &Handle<Self::Asset>;
}
pub trait AssetCollection {
type Key;
type Asset: Asset;
// Required method
fn get(&self, scene_type: Self::Key) -> &Handle<Self::Asset>;
}