[][src]Trait geng::LoadAsset

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

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

Associated Constants

pub const DEFAULT_EXT: Option<&'static str>[src]

Loading content...

Required methods

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

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...