Trait amethyst::asset_manager::AssetLoaderRaw
[−]
[src]
pub trait AssetLoaderRaw: Sized { fn from_raw(assets: &Assets, data: &[u8]) -> Option<Self>; }
Describes a raw asset loader type.
Required Methods
fn from_raw(assets: &Assets, data: &[u8]) -> Option<Self>
TODO: Return a Result
instead of an Option
.