pub enum Order {
Background,
PanelResizeLine,
Middle,
Foreground,
Tooltip,
Debug,
}
Expand description
Different layer categories
Variants§
Background
Painted behind all floating windows
PanelResizeLine
Special layer between panels and windows
Middle
Normal moveable windows that you reorder by click
Foreground
Popups, menus etc that should always be painted on top of windows Foreground objects can also have tooltips
Tooltip
Things floating on top of everything else, like tooltips. You cannot interact with these.
Debug
Debug layer, always painted last / on top
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Order
impl<'de> Deserialize<'de> for Order
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Order
impl Ord for Order
Source§impl PartialOrd for Order
impl PartialOrd for Order
impl Copy for Order
impl Eq for Order
impl StructuralPartialEq for Order
Auto Trait Implementations§
impl Freeze for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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