pub enum PanelLayer {
Background,
Bottom,
Top,
Overlay,
}Expand description
The band of the stack a panel lives in, bottom to top.
Variants§
Background
Below every application window: a wallpaper, a desktop widget.
Bottom
Above the background, below application windows.
Top
Above application windows, below full-screen ones: a status bar.
Overlay
Above everything, full-screen windows included: a launcher, a lock screen, a notification.
Win32 has one topmost band, which Top uses too, so there an overlay
is above application windows and shares the band with full-screen
ones that are topmost themselves.
Trait Implementations§
Source§impl Clone for PanelLayer
impl Clone for PanelLayer
impl Copy for PanelLayer
Source§impl Debug for PanelLayer
impl Debug for PanelLayer
Source§impl Default for PanelLayer
impl Default for PanelLayer
impl Eq for PanelLayer
Source§impl Hash for PanelLayer
impl Hash for PanelLayer
Source§impl PartialEq for PanelLayer
impl PartialEq for PanelLayer
impl StructuralPartialEq for PanelLayer
Auto Trait Implementations§
impl Freeze for PanelLayer
impl RefUnwindSafe for PanelLayer
impl Send for PanelLayer
impl Sync for PanelLayer
impl Unpin for PanelLayer
impl UnsafeUnpin for PanelLayer
impl UnwindSafe for PanelLayer
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