2022-06-10 13:43:33 +03:00
|
|
|
#![allow(clippy::let_unit_value)]
|
2015-06-05 16:38:21 +03:00
|
|
|
|
2019-05-25 18:10:41 -07:00
|
|
|
mod app_state;
|
|
|
|
|
mod event_loop;
|
|
|
|
|
mod monitor;
|
|
|
|
|
mod view;
|
2024-02-22 22:28:49 +01:00
|
|
|
mod view_controller;
|
2019-05-25 18:10:41 -07:00
|
|
|
mod window;
|
|
|
|
|
|
2019-05-29 21:29:54 -04:00
|
|
|
use std::fmt;
|
|
|
|
|
|
2022-02-16 22:09:03 +01:00
|
|
|
pub(crate) use self::event_loop::{
|
2025-03-01 20:18:28 +01:00
|
|
|
ActiveEventLoop, EventLoop, PlatformSpecificEventLoopAttributes,
|
2022-02-16 22:09:03 +01:00
|
|
|
};
|
2025-01-02 03:29:42 +03:00
|
|
|
pub(crate) use self::monitor::MonitorHandle;
|
2024-10-08 15:29:40 +02:00
|
|
|
pub(crate) use self::window::{PlatformSpecificWindowAttributes, Window};
|
2023-12-16 22:02:17 +02:00
|
|
|
pub(crate) use crate::cursor::{
|
2024-01-31 17:29:59 +04:00
|
|
|
NoCustomCursor as PlatformCustomCursor, NoCustomCursor as PlatformCustomCursorSource,
|
2019-05-25 18:10:41 -07:00
|
|
|
};
|
2020-03-07 19:42:21 +00:00
|
|
|
pub(crate) use crate::icon::NoIcon as PlatformIcon;
|
|
|
|
|
|
2019-05-29 21:29:54 -04:00
|
|
|
#[derive(Debug)]
|
|
|
|
|
pub enum OsError {}
|
|
|
|
|
|
|
|
|
|
impl fmt::Display for OsError {
|
2022-06-10 13:43:33 +03:00
|
|
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
|
|
|
|
write!(f, "os error")
|
2019-05-29 21:29:54 -04:00
|
|
|
}
|
|
|
|
|
}
|