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§
Sourcefn geolocation(&self) -> &Geolocation<R>
fn geolocation(&self) -> &Geolocation<R>
Returns the handle to the geolocation APIs.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".