pub type Dart_TimelineRecorderCallback = Option<unsafe extern "C" fn(event: *mut Dart_TimelineRecorderEvent)>;
Expand description

Callback provided by the embedder to handle the completion of timeline events.

\param event A timeline event that has just been completed. The VM keeps ownership of the event and any field in it (i.e., the embedder should copy any values it needs after the callback returns).

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.