tauri_plugin_haptics

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