pub trait Trace: Send + Sync {
// Required method
fn visit_children(&self, visitor: &mut GcVisitor<'_>);
}
Available on crate feature
sync
only.Expand description
The Sync
version of the rc::Trace
trait.
Required Methods§
Sourcefn visit_children(&self, visitor: &mut GcVisitor<'_>)
fn visit_children(&self, visitor: &mut GcVisitor<'_>)
Visit the children of this type. The implementation should call visit_children
on each
owned value which implements Trace
.