Trait mozjs::rust::Trace
[−]
[src]
pub unsafe trait Trace {
unsafe fn trace(&self, trc: *mut JSTracer);
}Types that can be traced.
This trait is unsafe; if it is implemented incorrectly, the GC may end up collecting objects that are still reachable.