iced/src/window/mode.rs
Héctor Ramón Jiménez c96492b956 Expose window::Mode in iced
Although the Fullscreen API in the Web platform has some limitations, it
is still useful to be able to support fullscreen on the native side.
2020-01-16 05:54:22 +01:00

9 lines
260 B
Rust

/// The mode of a window-based application.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Mode {
/// The application appears in its own window.
Windowed,
/// The application takes the whole screen of its current monitor.
Fullscreen,
}