Dart_NewWeakPersistentHandle_Type

Type Alias Dart_NewWeakPersistentHandle_Type 

Source
pub type Dart_NewWeakPersistentHandle_Type = Option<unsafe extern "C" fn(object: Dart_Handle, peer: *mut c_void, external_allocation_size: isize, callback: Dart_HandleFinalizer) -> Dart_WeakPersistentHandle>;

Aliased Type§

pub enum Dart_NewWeakPersistentHandle_Type {
    None,
    Some(unsafe extern "C" fn(*mut _Dart_Handle, *mut c_void, isize, Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>) -> *mut _Dart_WeakPersistentHandle),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut _Dart_Handle, *mut c_void, isize, Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>) -> *mut _Dart_WeakPersistentHandle)

Some value of type T.