[][src]Trait geng_core::LoadAsset

pub trait LoadAsset: Sized {
    fn load(geng: &Rc<Geng>, path: &str) -> AssetFuture<Self>;
fn default_ext() -> Option<&'static str>; }

Required methods

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

fn default_ext() -> Option<&'static str>

Loading content...

Implementations on Foreign Types

impl LoadAsset for Texture[src]

impl LoadAsset for String[src]

impl LoadAsset for ()[src]

Loading content...

Implementors

impl LoadAsset for Sound[src]

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

Loading content...