Skip to main content

NotificationExt

Trait NotificationExt 

Source
pub trait NotificationExt<R: Runtime> {
    // Required method
    fn notification(&self) -> &Notification<R>;
}
Expand description

Extensions to tauri::App, tauri::AppHandle, tauri::WebviewWindow, tauri::Webview and tauri::Window to access the notification APIs.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<R: Runtime, T: Manager<R>> NotificationExt<R> for T