This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Description
RootedGuard<'_, T> requires that T implement mozjs_sys::jsgc::RootKind.
This issues involves exporting mozjs_sys::jsgc::* in mozjs.
Reason
Currently, I am unable to create a generic function that does this as this struct is not exported by mozjs. This will be useful for creating utility functions to set a value without requiring you to manually convert it using ToJSValConvertible.
Implementation Code
// src/lib.rs
pub use mozjs_sys::jsgc;