pub trait ResourceKey: Sized + Send + Sync + 'static + EnumArray<Self::Output> {
    type Output: Sized + Send + Sync + 'static;

    // Required method
    fn load<App: PeterEngineApp>(self, rd: &mut RenderData<App>) -> Self::Output;
}

Required Associated Types§

source

type Output: Sized + Send + Sync + 'static

Required Methods§

source

fn load<App: PeterEngineApp>(self, rd: &mut RenderData<App>) -> Self::Output

Object Safety§

This trait is not object safe.

Implementors§