pub type HandleFunction = Handle<*mut JSFunction>;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§
#[repr(C)]pub struct HandleFunction {
pub _phantom_0: PhantomData<UnsafeCell<*mut JSFunction>>,
pub ptr: *const *mut JSFunction,
}Fields§
§_phantom_0: PhantomData<UnsafeCell<*mut JSFunction>>§ptr: *const *mut JSFunctionLayout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes