Trait HapticsExt

Source
pub trait HapticsExt<R: Runtime> {
    // Required method
    fn haptics(&self) -> &Haptics<R>;
}
Expand description

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

Required Methods§

Source

fn haptics(&self) -> &Haptics<R>

Implementors§

Source§

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