Trait goods::AssetDefaultFormat [−][src]
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
Implementations on Foreign Types
impl<K> AssetDefaultFormat<K> for Vec<u8> where
PassthroughFormat: Format<Self, K>,
[src]
PassthroughFormat: Format<Self, K>,
type DefaultFormat = PassthroughFormat
impl<K> AssetDefaultFormat<K> for Box<[u8]> where
PassthroughFormat: Format<Self, K>,
[src]
PassthroughFormat: Format<Self, K>,
type DefaultFormat = PassthroughFormat
impl<K> AssetDefaultFormat<K> for Arc<[u8]> where
PassthroughFormat: Format<Self, K>,
[src]
PassthroughFormat: Format<Self, K>,