MutableHandleFunction

Type Alias MutableHandleFunction 

Source
pub type MutableHandleFunction = MutableHandle<*mut JSFunction>;
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§

#[repr(C)]
pub struct MutableHandleFunction { pub _phantom_0: PhantomData<UnsafeCell<*mut JSFunction>>, pub ptr: *mut *mut JSFunction, }

Fields§

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

Layout§

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