[][src]Trait geng::LoadAsset

pub trait LoadAsset: Sized {
    const DEFAULT_EXT: Option<&'static str>;

    fn load(geng: &Rc<Geng>, path: &str) -> AssetFuture<Self>;
}

Associated Constants

const DEFAULT_EXT: Option<&'static str>

Loading content...

Required methods

fn load(geng: &Rc<Geng>, path: &str) -> AssetFuture<Self>

Loading content...

Implementations on Foreign Types

impl LoadAsset for Texture[src]

impl LoadAsset for String[src]

Loading content...

Implementors

impl LoadAsset for Sound[src]

impl<T: 'static> LoadAsset for Rc<T> where
    T: LoadAsset
[src]

Loading content...