Type Alias mozjs_sys::jsapi::JSObjectMovedOp

source ·
pub type JSObjectMovedOp = Option<unsafe extern "C" fn(obj: *mut JSObject, old: *mut JSObject) -> usize>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.