pub struct AssetStore { /* private fields */ }Expand description
Shared, type-erased registry of Assets<T> sub-stores keyed by TypeId.
Cloning is cheap (clones an Arc); all clones share the same underlying
sub-stores.
Implementations§
Source§impl AssetStore
impl AssetStore
Trait Implementations§
Source§impl Clone for AssetStore
impl Clone for AssetStore
Source§fn clone(&self) -> AssetStore
fn clone(&self) -> AssetStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AssetStore
impl Default for AssetStore
Source§fn default() -> AssetStore
fn default() -> AssetStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AssetStore
impl RefUnwindSafe for AssetStore
impl Send for AssetStore
impl Sync for AssetStore
impl Unpin for AssetStore
impl UnsafeUnpin for AssetStore
impl UnwindSafe for AssetStore
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