Type Alias mozjs::jsapi::JS::HandleString
source · pub type HandleString = Handle<*mut JSString>;
Expand description
Reference to a T that has been rooted elsewhere. This is most useful as a parameter type, which guarantees that the T lvalue is properly rooted. See “Move GC Stack Rooting” above.
If you want to add additional methods to Handle for a specific
specialization, define a HandleOperations
Aliased Type§
struct HandleString {
pub _phantom_0: PhantomData<UnsafeCell<*mut JSString>>,
pub ptr: *const *mut JSString,
}
Fields§
§_phantom_0: PhantomData<UnsafeCell<*mut JSString>>
§ptr: *const *mut JSString