ResourceReleaseCallback

Type Alias ResourceReleaseCallback 

Source
pub type ResourceReleaseCallback = Option<unsafe extern "C-unwind" fn(phase: Type, isCommit: bool, isTopLevel: bool, arg: *mut c_void)>;

Aliased Type§

pub enum ResourceReleaseCallback {
    None,
    Some(unsafe extern "C-unwind" fn(u32, bool, bool, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C-unwind" fn(u32, bool, bool, *mut c_void))

Some value of type T.