Module mozjs::rust::jsapi_wrapped

source ·
Expand description

Wrappers for JSAPI methods that accept lifetimed Handle and MutableHandle arguments.

The wrapped methods are identical except that they accept Handle and MutableHandle arguments that include lifetimes instead. Besides, they mutably borrow the mutable handles instead of consuming/copying them.

These wrappers are preferred, js::rust::wrappers should NOT be used.

Macros§

Functions§