Structs§
- An RAII guard used to root underlying data in
CustomAutoRooter
until the guard is dropped (falls out of scope). The underlying data can be accessed through this guard via its Deref and DerefMut implementations. This structure is created byroot
method onCustomAutoRooter
or by theauto_root!
macro.
Traits§
CustomAutoRooter
uses dynamic dispatch on the C++ side for custom tracing, so provide trace logic via vftable when creating an object on Rust side.- Similarly to
Traceable
trait, it’s used to specify tracing of various types that are used in conjunction withCustomAutoRooter
.