// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
usesuper::window::dpi::{PhysicalPosition, PhysicalSize};/// Monitor descriptor.
#[derive(Debug, Clone)]pubstructMonitor{/// A human-readable name of the monitor.
/// `None` if the monitor doesn't exist anymore.
pubname:Option<String>,
/// The monitor's resolution.
pubsize:PhysicalSize<u32>,
/// The top-left corner position of the monitor relative to the larger full screen area.
pubposition:PhysicalPosition<i32>,
/// Returns the scale factor that can be used to map logical pixels to physical pixels, and vice versa.
pubscale_factor:f64,
}