Trait gluon_vm::gc::Trace[][src]

pub unsafe trait Trace {
    unsafe fn root(&mut self) { ... }
unsafe fn unroot(&mut self) { ... }
fn trace(&self, gc: &mut Gc) { ... } }
Expand description

Trait which must be implemented on all root types which contain GcPtr A type unsafe implementing Trace must call trace on each of its fields which in turn contains GcPtr

Provided methods

Implementations on Foreign Types

Implementors

When traversing a GcPtr we need to mark it