Native screen and display queries plus hot-plug events for MoonBit on Windows, Linux, and macOS.
Dependencies
pub(all) suberror ScreenMonitorError {
BackendUnavailable(detail~ : String)
OperationFailed(operation~ : String, detail~ : String)
Empty
} derive(Eq)impl Show for ScreenMonitorErrorpub struct ScreenMonitor {
// private fields
}fn ScreenMonitor::display_nearest_point(self : ScreenMonitor, x : Int, y : Int) -> DisplayInfo raise ScreenMonitorErrorNative screen and display queries plus hot-plug events for MoonBit on Windows, Linux, and macOS.
Dependencies