[−][src]Trait geng::LoadAsset
Required methods
fn load(
geng: &Rc<Geng>,
path: &str
) -> Pin<Box<dyn Future<Output = Result<Self, Error>> + 'static>>ⓘ
geng: &Rc<Geng>,
path: &str
) -> Pin<Box<dyn Future<Output = Result<Self, Error>> + 'static>>ⓘ
fn default_ext() -> Option<&'static str>
Implementations on Foreign Types
impl LoadAsset for String
[src]
fn load(
geng: &Rc<Geng>,
path: &str
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + 'static>>ⓘ
[src]
geng: &Rc<Geng>,
path: &str
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + 'static>>ⓘ
fn default_ext() -> Option<&'static str>
[src]
impl LoadAsset for ()
[src]
fn load(
&Rc<Geng>,
&str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static>>ⓘ
[src]
&Rc<Geng>,
&str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static>>ⓘ
fn default_ext() -> Option<&'static str>
[src]
Implementors
impl LoadAsset for Texture2d<Color<f32>>
[src]
fn load(
geng: &Rc<Geng>,
path: &str
) -> Pin<Box<dyn Future<Output = Result<Texture2d<Color<f32>>, Error>> + 'static>>ⓘ
[src]
geng: &Rc<Geng>,
path: &str
) -> Pin<Box<dyn Future<Output = Result<Texture2d<Color<f32>>, Error>> + 'static>>ⓘ
fn default_ext() -> Option<&'static str>
[src]
impl LoadAsset for Sound
[src]
fn load(
geng: &Rc<Geng>,
path: &str
) -> Pin<Box<dyn Future<Output = Result<Sound, Error>> + 'static>>ⓘ
[src]
geng: &Rc<Geng>,
path: &str
) -> Pin<Box<dyn Future<Output = Result<Sound, Error>> + 'static>>ⓘ
fn default_ext() -> Option<&'static str>
[src]
impl<T> LoadAsset for Rc<T> where
T: 'static + LoadAsset,
[src]
T: 'static + LoadAsset,