Function wgpu::web_sys::js_sys::global

source ·
pub fn global() -> Object
Available on webgl or webgpu only.
Expand description

Returns a handle to the global scope object.

This allows access to the global properties and global names by accessing the Object returned.