Struct bones_asset::LoadedAssets
source · pub struct LoadedAssets {
pub default: UntypedHandle,
pub packs: HashMap<String, UntypedHandle>,
}
Expand description
Struct containing all the game’s loaded assets, including the default assets and asset-packs/mods.
Fields§
§default: UntypedHandle
The game’s default asset pack.
packs: HashMap<String, UntypedHandle>
Extra asset packs. The key is the the name of the asset pack.
Auto Trait Implementations§
impl Freeze for LoadedAssets
impl RefUnwindSafe for LoadedAssets
impl Send for LoadedAssets
impl Sync for LoadedAssets
impl Unpin for LoadedAssets
impl UnwindSafe for LoadedAssets
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