MCPcopy Create free account
hub / github.com/aiscriptdev/aiscript / trace

Method trace

aiscript-arena/src/gc_weak.rs:30–34  ·  view source on GitHub ↗
(&self, cc: &Collection)

Source from the content-addressed store, hash-verified

28unsafe 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
37impl<'gc, T: ?Sized + 'gc> GcWeak<'gc, T> {

Callers

nothing calls this directly

Calls 1

trace_weakMethod · 0.80

Tested by

no test coverage detected