pub struct Refcount { /* private fields */ }
Expand description
Refcounter object for automatic COM Object implementations. Atomically keeps track of the reference count so that the implementation of IUnknown can properly deallocate the object when all reference counts are gone.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Refcount
impl RefUnwindSafe for Refcount
impl Send for Refcount
impl Sync for Refcount
impl Unpin for Refcount
impl UnwindSafe for Refcount
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