Module mozjs_sys::jsgc

source ·

Structs

  • Methods for a CustomAutoRooter
  • Heap values encapsulate GC concerns of an on-heap reference to a JS object. This means that every reference to a JS object on heap must be realized through this structure.
  • A fixed-size array of values, for use inside Rooted<>.

Traits

  • A trait for types which can place appropriate GC barriers.
  • Trait for things that can be converted to handles For any type T: IntoHandle we have an implementation of From<T> for MutableHandle<T::Target>. This is a way round the orphan rule.
  • A trait for JS types that can be registered as roots.

Type Aliases