Struct wgpu_core::MultiRefCount
source · pub(crate) struct MultiRefCount(pub(crate) AtomicUsize);
Expand description
Reference count object that tracks multiple references.
Unlike RefCount
, it’s manually inc()/dec() called.
Tuple Fields§
§0: AtomicUsize
Implementations§
source§impl MultiRefCount
impl MultiRefCount
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MultiRefCount
impl Send for MultiRefCount
impl Sync for MultiRefCount
impl Unpin for MultiRefCount
impl UnwindSafe for MultiRefCount
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