Trait bones_framework::prelude::AssetLoader
source · pub trait AssetLoader: Sync + Send + 'static {
// Required method
fn load(
&self,
ctx: AssetLoadCtx,
bytes: &[u8],
) -> Pin<Box<dyn Future<Output = Result<SchemaBox, Error>> + Send>>;
}
Expand description
A custom assset loader.