Struct assets_manager::loader::BytesLoader
source · pub struct BytesLoader(_);Expand description
Loads assets as raw bytes.
This Loader cannot be used to implement the Asset trait, but can be used by
LoadFrom.
Trait Implementations§
source§impl Debug for BytesLoader
impl Debug for BytesLoader
source§fn load(content: Cow<'_, [u8]>, _: &str) -> Result<SharedBytes, BoxedError>
fn load(content: Cow<'_, [u8]>, _: &str) -> Result<SharedBytes, BoxedError>
Loads an asset from its raw bytes representation. Read more