(&self, cc: &Collection)
| 28 | unsafe impl<'gc, T: ?Sized + 'gc> Collect for GcWeak<'gc, T> { |
| 29 | #[inline] |
| 30 | fn trace(&self, cc: &Collection) { |
| 31 | unsafe { |
| 32 | cc.trace_weak(GcBox::erase(self.inner.ptr)); |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | impl<'gc, T: ?Sized + 'gc> GcWeak<'gc, T> { |
nothing calls this directly
no test coverage detected