Module mozjs::gc::custom

source ·

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 by root method on CustomAutoRooter or by the auto_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 with CustomAutoRooter.

Type Aliases§