Trait assets::Loader
[−]
[src]
pub trait Loader: 'static + Send + Sync { type Path: 'static + Clone + Send; type Options: 'static + Clone + Send; type Output: 'static; type Error: 'static + Error; type Future: 'static + Future<Item = Self::Output, Error = Self::Error>; fn load(&self, _: Self::Path, _: Self::Options) -> Self::Future; }