pub trait Trace {
    fn trace(&mut self, tracer: &mut Tracer);
}
Expand description

A trait that informs cycle collector how to find memory that is owned by a Trace instance and managed by the cycle collector.

Required Methods§

Invoke the Tracer on each of the CcBoxPtrs owned by this Trace instance.

Failing to invoke the tracer on every owned CcBoxPtr can lead to leaking cycles.

Implementations on Foreign Types§

Implementors§