Skip to main content

Module trace_impls

Module trace_impls 

Source
Expand description

Phase-D Trace implementations for types defined in this crate.

Each impl enumerates the type’s GC-bearing fields and either calls field.trace(m) (delegating to the field’s own Trace impl) or m.mark(field) (when the field is a Gc<T> from lua-gc). During the Phase A/B/C/D-0 window GcRef<T> is still an Rc<T> newtype rather than the real Gc<T>, so the mark-queue path is not yet reachable — method resolution dispatches through Deref to each underlying type’s own trace method.