Type Alias mozjs_sys::jsapi::JS::MutableHandleObject
source · pub type MutableHandleObject = MutableHandle<*mut JSObject>;
Expand description
Similar to a handle, but the underlying storage can be changed. This is useful for outparams.
If you want to add additional methods to MutableHandle for a specific
specialization, define a MutableHandleOperations
Aliased Type§
struct MutableHandleObject {
pub _phantom_0: PhantomData<UnsafeCell<*mut JSObject>>,
pub ptr: *mut *mut JSObject,
}
Fields§
§_phantom_0: PhantomData<UnsafeCell<*mut JSObject>>
§ptr: *mut *mut JSObject