Enum winit::window::WindowLevel
source · pub enum WindowLevel {
AlwaysOnBottom,
Normal,
AlwaysOnTop,
}
Expand description
A window level groups windows with respect to their z-position.
The relative ordering between windows in different window levels is fixed. The z-order of a window within the same window level may change dynamically on user interaction.
Platform-specific
- iOS / Android / Web / Wayland: Unsupported.
Variants§
AlwaysOnBottom
The window will always be below normal windows.
This is useful for a widget-based app.
Normal
The default.
AlwaysOnTop
The window will always be on top of normal windows.
Trait Implementations§
source§impl Clone for WindowLevel
impl Clone for WindowLevel
source§fn clone(&self) -> WindowLevel
fn clone(&self) -> WindowLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WindowLevel
impl Debug for WindowLevel
source§impl Default for WindowLevel
impl Default for WindowLevel
source§impl PartialEq<WindowLevel> for WindowLevel
impl PartialEq<WindowLevel> for WindowLevel
source§fn eq(&self, other: &WindowLevel) -> bool
fn eq(&self, other: &WindowLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.