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 for WindowLevel
impl PartialEq 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 ==
.impl Copy for WindowLevel
impl Eq for WindowLevel
impl StructuralEq for WindowLevel
impl StructuralPartialEq for WindowLevel
Auto Trait Implementations§
impl RefUnwindSafe for WindowLevel
impl Send for WindowLevel
impl Sync for WindowLevel
impl Unpin for WindowLevel
impl UnwindSafe for WindowLevel
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more