#[repr(u32)]pub enum DepthLayer {
Background = 0,
Below = 1,
Application = 2,
AlwaysOnTop = 3,
Above = 4,
Overlay = 5,
}Variants§
Background = 0
For desktop backgrounds (lowest layer).
Below = 1
For panels or other controls/decorations below normal windows.
Application = 2
For normal application windows.
AlwaysOnTop = 3
For always-on-top application windows.
Above = 4
For panels or notifications that want to be above normal windows.
Overlay = 5
For overlays such as lock screens (highest layer).
Trait Implementations§
Source§impl Clone for DepthLayer
impl Clone for DepthLayer
Source§fn clone(&self) -> DepthLayer
fn clone(&self) -> DepthLayer
Returns a duplicate 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 DepthLayer
impl Debug for DepthLayer
Source§impl Default for DepthLayer
impl Default for DepthLayer
Source§fn default() -> DepthLayer
fn default() -> DepthLayer
Returns the “default value” for a type. Read more
Source§impl From<DepthLayer> for MirDepthLayer
impl From<DepthLayer> for MirDepthLayer
Source§fn from(value: DepthLayer) -> Self
fn from(value: DepthLayer) -> Self
Converts to this type from the input type.
Source§impl Hash for DepthLayer
impl Hash for DepthLayer
Source§impl PartialEq for DepthLayer
impl PartialEq for DepthLayer
Source§impl TryFrom<u32> for DepthLayer
impl TryFrom<u32> for DepthLayer
impl Copy for DepthLayer
impl Eq for DepthLayer
impl StructuralPartialEq for DepthLayer
Auto Trait Implementations§
impl Freeze for DepthLayer
impl RefUnwindSafe for DepthLayer
impl Send for DepthLayer
impl Sync for DepthLayer
impl Unpin for DepthLayer
impl UnsafeUnpin for DepthLayer
impl UnwindSafe for DepthLayer
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