[][src]Trait goods::AssetDefaultFormat

pub trait AssetDefaultFormat<K>: Asset {
    type DefaultFormat: Format<Self, K> + Default;
}

Default format for given asset type. Allows calling Cache::load and make it use default format value for loading. Has no effect otherwise.

Associated Types

type DefaultFormat: Format<Self, K> + Default

Format that will be used when asset is loaded using Cache::load

Loading content...

Implementations on Foreign Types

impl<K> AssetDefaultFormat<K> for Vec<u8>[src]

impl<K> AssetDefaultFormat<K> for Box<[u8]>[src]

impl<K> AssetDefaultFormat<K> for Arc<[u8]>[src]

impl<K> AssetDefaultFormat<K> for Rc<[u8]>[src]

Loading content...

Implementors

Loading content...