Trait MonitorHandleExtWayland
pub trait MonitorHandleExtWayland {
// Required methods
fn native_id(&self) -> u32;
fn physical_size_mm(&self) -> Option<(u32, u32)>;
}Expand description
Additional methods on MonitorHandle that are specific to Wayland.
Required Methods§
fn physical_size_mm(&self) -> Option<(u32, u32)>
fn physical_size_mm(&self) -> Option<(u32, u32)>
The display’s physical size in millimetres, when the compositor reports one. Lets a client tell a 14“ panel from a 65“ television that happen to share a resolution.