Type Alias mozjs::jsapi::JSONWriteCallback

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

Aliased Type§

enum JSONWriteCallback {
    None,
    Some(unsafe extern "C" fn(_: *const u16, _: u32, _: *mut c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.