Type Alias mozjs::jsapi::JS_ICUAllocFn

source ·
pub type JS_ICUAllocFn = Option<unsafe extern "C" fn(_: *const c_void, _: usize) -> *mut c_void>;

Aliased Type§

enum JS_ICUAllocFn {
    None,
    Some(unsafe extern "C" fn(_: *const c_void, _: usize) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const c_void, _: usize) -> *mut c_void)

Some value of type T.