Function script::dom::globalscope::global_scope_from_global_static
source · unsafe fn global_scope_from_global_static(
global: *mut JSObject
) -> Root<Dom<GlobalScope>>
Expand description
Returns the Rust global scope from a JS global object.