pub trait AssetSource {
// Required methods
fn has(&self, path: &str) -> Result<bool, LoaderError>;
fn load(&self, path: &str) -> Result<Option<Vec<u8>>, LoaderError>;
}
Expand description
Trait for the various sources that assets can be loaded from