Function tauri_sys::window::current_window
source · pub fn current_window() -> WebviewWindow
Expand description
Get an instance of WebviewWindow
for the current webview window.
§Example
use tauri_sys::window::current_window;
let win = current_window().await?;