Struct bones_asset::prelude::DummyIo
source · pub struct DummyIo { /* private fields */ }
Expand description
Dummy AssetIo
implementation used for debugging or as a placeholder.
Implementations§
Trait Implementations§
source§impl AssetIo for DummyIo
impl AssetIo for DummyIo
source§fn enumerate_packs(&self) -> BoxedFuture<Result<Vec<String>>>
fn enumerate_packs(&self) -> BoxedFuture<Result<Vec<String>>>
List the names of the non-core asset pack folders that are installed. Read more
source§fn load_file(&self, loc: AssetLocRef<'_>) -> BoxedFuture<Result<Vec<u8>>>
fn load_file(&self, loc: AssetLocRef<'_>) -> BoxedFuture<Result<Vec<u8>>>
Get the binary contents of an asset. Read more
Auto Trait Implementations§
impl Freeze for DummyIo
impl RefUnwindSafe for DummyIo
impl Send for DummyIo
impl Sync for DummyIo
impl Unpin for DummyIo
impl UnwindSafe for DummyIo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more