pub type Dart_EnvironmentCallback = Option<unsafe extern "C" fn(name: Dart_Handle) -> Dart_Handle>;
Expand description

An environment lookup callback function.

\param name The name of the value to lookup in the environment.

\return A valid handle to a string if the name exists in the current environment or Dart_Null() if not.

Aliased Type§

enum Dart_EnvironmentCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut _Dart_Handle) -> *mut _Dart_Handle),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut _Dart_Handle) -> *mut _Dart_Handle)

Some value of type T.