Trait bevy::asset::AssetLoader [−]
pub trait AssetLoader: 'static + Send + Sync {
fn load(
&'a self,
bytes: &'a [u8],
load_context: &'a mut LoadContext<'_>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a, Global>>ⓘ;
fn extensions(&self) -> &[&str];
}
Expand description
A loader for an asset source