Skip to main content

NativeUiBackend

Trait NativeUiBackend 

Source
pub trait NativeUiBackend: Send + Sync {
    // Required method
    fn show_system_messagebox(&self, request: NativeMessageBoxRequest);

    // Provided method
    fn show_chihaya_bench_dialog(
        &self,
        request: NativeChihayaBenchDialogRequest,
    ) { ... }
}

Required Methods§

Provided Methods§

Source

fn show_chihaya_bench_dialog(&self, request: NativeChihayaBenchDialogRequest)

Original tnm_open_chihaya_bench_dialog() is a blocking information dialog with a read-only multi-line body, Copy-to-Clipboard, and Close. Platforms without a dedicated implementation still preserve the modal call boundary by falling back to an OK-style native message box.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§