JSSizeOfIncludingThisCompartmentCallback

Type Alias JSSizeOfIncludingThisCompartmentCallback 

Source
pub type JSSizeOfIncludingThisCompartmentCallback = Option<unsafe extern "C" fn(arg1: MallocSizeOf, arg2: *mut Compartment) -> usize>;

Aliased Type§

pub enum JSSizeOfIncludingThisCompartmentCallback {
    None,
    Some(unsafe extern "C" fn(Option<unsafe extern "C" fn(*const c_void) -> usize>, *mut Compartment) -> usize),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(Option<unsafe extern "C" fn(*const c_void) -> usize>, *mut Compartment) -> usize)

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.