Function mozjs::rust::convert_from_int32

source ยท
unsafe fn convert_from_int32<T: Default + Copy>(
    cx: *mut JSContext,
    v: HandleValue<'_>,
    conv_fn: unsafe extern "C" fn(_: *mut JSContext, _: HandleValue, _: *mut T) -> bool,
) -> Result<T, ()>