pub struct NoAssets;Expand description
A no-op asset loader. Every load returns NotFound. Useful for
tests of graphs that don’t touch any asset.
Trait Implementations§
Source§impl AssetLoader for NoAssets
impl AssetLoader for NoAssets
Auto Trait Implementations§
impl Freeze for NoAssets
impl RefUnwindSafe for NoAssets
impl Send for NoAssets
impl Sync for NoAssets
impl Unpin for NoAssets
impl UnsafeUnpin for NoAssets
impl UnwindSafe for NoAssets
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