tauri_plugin_geolocation

Trait GeolocationExt

source
pub trait GeolocationExt<R: Runtime> {
    // Required method
    fn geolocation(&self) -> &Geolocation<R>;
}
Expand description

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

Required Methods§

source

fn geolocation(&self) -> &Geolocation<R>

Implementors§

source§

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