Struct assets_manager::AtomicReloadId
source · pub struct AtomicReloadId(/* private fields */);
Expand description
A ReloadId
that can be shared between threads.
This type is useful when one cannot afford the associated lifetime of
ReloadWatcher
and is cheaper than a Mutex<ReloadId>
.
update
method is enough to satisfy most needs, but this type exposes more
primitive operations too.
Implementations§
source§impl AtomicReloadId
impl AtomicReloadId
Trait Implementations§
source§impl Debug for AtomicReloadId
impl Debug for AtomicReloadId
Auto Trait Implementations§
impl !Freeze for AtomicReloadId
impl RefUnwindSafe for AtomicReloadId
impl Send for AtomicReloadId
impl Sync for AtomicReloadId
impl Unpin for AtomicReloadId
impl UnwindSafe for AtomicReloadId
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