pub unsafe trait CustomTrace {
// Required method
fn trace(&self, trc: *mut JSTracer);
}Expand description
Similarly to Traceable trait, it’s used to specify tracing of various types
that are used in conjunction with CustomAutoRooter.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".