Enum quicksilver::asset::LoadingAsset [] [src]

pub enum LoadingAsset<Asset: Loadable> {
    Loading(LoadingHandle),
    Loaded(Asset),
    Errored(Asset::Error),
}

A wrapper for an asset that is loading, errored, or loaded

Variants

An asset that is not finished loading

The asset has successfully loaded

Some error has occurred while trying to load

Methods

impl<T: Loadable> LoadingAsset<T>
[src]

[src]

Update the loading asset possibly produced a loaded state or an error

Trait Implementations

impl<Asset: Clone + Loadable> Clone for LoadingAsset<Asset> where
    Asset::Error: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more