pub type DeferredViewportUiCallback = dyn Fn(&mut Ui) + Send + Sync;
The user-code that shows the ui in the viewport, used for deferred viewports.