Trait goods::AssetDefaultFormat[][src]

pub trait AssetDefaultFormat<K>: Asset {
    type DefaultFormat: 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: Default[src]

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> where
    PassthroughFormat: Format<Self, K>, 
[src]

impl<K> AssetDefaultFormat<K> for Box<[u8]> where
    PassthroughFormat: Format<Self, K>, 
[src]

impl<K> AssetDefaultFormat<K> for Arc<[u8]> where
    PassthroughFormat: Format<Self, K>, 
[src]

Loading content...

Implementors

Loading content...