pub type Heap<T> = Heap<T>;Aliased Type§
#[repr(C)]pub struct Heap<T> {
pub ptr: UnsafeCell<T>,
}Fields§
§ptr: UnsafeCell<T>Trait Implementations§
Source§impl ToJSValConvertible for Heap<*mut JSObject>
impl ToJSValConvertible for Heap<*mut JSObject>
Source§unsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue<'_>)
unsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue<'_>)
Convert
self to a JSVal. JSAPI failure causes a panic.Source§fn safe_to_jsval(&self, cx: &mut JSContext, rval: MutableHandleValue<'_>)
fn safe_to_jsval(&self, cx: &mut JSContext, rval: MutableHandleValue<'_>)
Convert
self to a JSVal. JSAPI failure causes a panic.Source§impl ToJSValConvertible for Heap<JSVal>
impl ToJSValConvertible for Heap<JSVal>
Source§unsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue<'_>)
unsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue<'_>)
Convert
self to a JSVal. JSAPI failure causes a panic.Source§fn safe_to_jsval(&self, cx: &mut JSContext, rval: MutableHandleValue<'_>)
fn safe_to_jsval(&self, cx: &mut JSContext, rval: MutableHandleValue<'_>)
Convert
self to a JSVal. JSAPI failure causes a panic.