Type Alias mozjs::jsapi::BufferContentsFreeFunc

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

Aliased Type§

enum BufferContentsFreeFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void))

Some value of type T.