Trait geng_asset::Load
source · pub trait Load: Sized + 'static {
type Options: Clone + Default;
const DEFAULT_EXT: Option<&'static str>;
// Required method
fn load(
manager: &Manager,
path: &Path,
options: &Self::Options
) -> Future<Self>;
}
Required Associated Types§
Required Associated Constants§
const DEFAULT_EXT: Option<&'static str>
Required Methods§
Object Safety§
This trait is not object safe.