#[repr(u32)]pub enum Layer {
Background = 0,
Bottom = 1,
Top = 2,
Overlay = 3,
}Expand description
Layer shell layers (bottom to top rendering order).
Surfaces in higher layers are always rendered above surfaces in lower layers. Normal windows sit between Bottom and Top.
Variants§
Background = 0
Below all windows (e.g., desktop wallpaper)
Bottom = 1
Below normal windows but above background (e.g., bottom panels)
Top = 2
Above normal windows (e.g., top panels, notification popups)
Overlay = 3
Above everything including fullscreen (e.g., screen lock, OSD)
Implementations§
Trait Implementations§
Source§impl Ord for Layer
impl Ord for Layer
Source§impl PartialOrd for Layer
impl PartialOrd for Layer
impl Copy for Layer
impl Eq for Layer
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnwindSafe for Layer
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)