pub type Dart_EmbedderInformationCallback = Option<unsafe extern "C" fn(info: *mut Dart_EmbedderInformation)>;
Expand description

Callback provided by the embedder that is used by the VM to request information.

\return Returns a pointer to a Dart_EmbedderInformation structure. The embedder keeps the ownership of the structure and any field in it. The embedder must ensure that the structure will remain valid until the next invocation of the callback.

Aliased Type§

enum Dart_EmbedderInformationCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut Dart_EmbedderInformation)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut Dart_EmbedderInformation))

Some value of type T.