pub struct GCWrapper<T: GCTraceable<T> + 'static> { /* private fields */ }Expand description
GCWrapper 包装器,包含被垃圾回收的对象和附加的GC计数
Implementations§
Auto Trait Implementations§
impl<T> !Freeze for GCWrapper<T>
impl<T> RefUnwindSafe for GCWrapper<T>where
T: RefUnwindSafe,
impl<T> Send for GCWrapper<T>where
T: Send,
impl<T> Sync for GCWrapper<T>where
T: Sync,
impl<T> Unpin for GCWrapper<T>where
T: Unpin,
impl<T> UnsafeUnpin for GCWrapper<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for GCWrapper<T>where
T: UnwindSafe,
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