pub async fn current_monitor() -> Result<Option<Monitor>, Error>Expand description
Returns the monitor on which the window currently resides.
Returns None if current monitor can’t be detected.
§Example
use tauri_sys::window::current_monitor;
let monitor = current_monitor().await?;