Trait assets::Loader [] [src]

pub trait Loader: 'static + Send + Sync {
    type Path: '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::Future;
}

Associated Types

Required Methods

Implementors