Type Alias script::dom::bindings::import::module::jsapi::JS::MutableHandleString

source ·
pub type MutableHandleString = MutableHandle<*mut JSString>;
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 specialization containing them.

Aliased Type§

struct MutableHandleString {
    pub ptr: *mut *mut JSString,
    pub _phantom_0: PhantomData<UnsafeCell<*mut JSString>>,
}

Fields§

§ptr: *mut *mut JSString§_phantom_0: PhantomData<UnsafeCell<*mut JSString>>