use std::iter::Empty; use crate::dpi::{PhysicalPosition, PhysicalSize}; #[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct MonitorHandle; impl MonitorHandle { pub fn scale_factor(&self) -> f64 { unreachable!() } pub fn position(&self) -> PhysicalPosition { unreachable!() } pub fn name(&self) -> Option { unreachable!() } pub fn refresh_rate_millihertz(&self) -> Option { unreachable!() } pub fn size(&self) -> PhysicalSize { unreachable!() } pub fn video_modes(&self) -> Empty { unreachable!() } } #[derive(Clone, Debug, PartialEq, Eq, Hash)] pub struct VideoMode; impl VideoMode { pub fn size(&self) -> PhysicalSize { unreachable!(); } pub fn bit_depth(&self) -> u16 { unreachable!(); } pub fn refresh_rate_millihertz(&self) -> u32 { unreachable!(); } pub fn monitor(&self) -> MonitorHandle { unreachable!(); } }