Function mozjs::rust::jsapi_wrapped::JS_WriteStructuredClone

source ยท
pub unsafe fn JS_WriteStructuredClone(
    cx: *mut JSContext,
    v: HandleValue<'_>,
    data: *mut JSStructuredCloneData,
    scope: StructuredCloneScope,
    cloneDataPolicy: *const CloneDataPolicy,
    optionalCallbacks: *const JSStructuredCloneCallbacks,
    closure: *mut c_void,
    transferable: HandleValue<'_>,
) -> bool