JSIterateCompartmentCallback

Type Alias JSIterateCompartmentCallback 

Source
pub type JSIterateCompartmentCallback = Option<unsafe extern "C" fn(arg1: *mut JSContext, arg2: *mut c_void, arg3: *mut Compartment) -> CompartmentIterResult>;

Aliased Type§

pub enum JSIterateCompartmentCallback {
    None,
    Some(unsafe extern "C" fn(*mut JSContext, *mut c_void, *mut Compartment) -> CompartmentIterResult),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut JSContext, *mut c_void, *mut Compartment) -> CompartmentIterResult)

Some value of type T.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.