pub enum Layer {
Background,
Bottom,
Top,
Overlay,
}Expand description
The layer-shell layer a window is drawn in, from bottom to top.
Variants§
Background
Below everything, with the wallpaper.
Bottom
Below windows.
Top
Above windows. The default.
Overlay
Above everything, fullscreen windows included.
Trait Implementations§
impl Copy for Layer
impl Eq for Layer
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Forget for Layer
impl Freeze for Layer
impl Move for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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