#[non_exhaustive]pub enum PanelStyle {
Floating,
Utility,
Hud,
}Expand description
A panel’s kind (Window::panel): a secondary window serving the main
ones, which hides while the app is in the background.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Floating
Stays above the app’s other windows: an inspector, a palette, a find panel. It becomes key only when a field in it is clicked, so the main window keeps the keyboard.
Utility
As Floating, with a slimmer title bar: tool palettes.
Hud
A dark, translucent heads-up panel over media or a canvas.
Trait Implementations§
Source§impl Clone for PanelStyle
impl Clone for PanelStyle
impl Copy for PanelStyle
Source§impl Debug for PanelStyle
impl Debug for PanelStyle
impl Eq for PanelStyle
Source§impl PartialEq for PanelStyle
impl PartialEq for PanelStyle
impl StructuralPartialEq for PanelStyle
Auto Trait Implementations§
impl Forget for PanelStyle
impl Freeze for PanelStyle
impl Move for PanelStyle
impl RefUnwindSafe for PanelStyle
impl Send for PanelStyle
impl Sync for PanelStyle
impl Unpin for PanelStyle
impl UnsafeUnpin for PanelStyle
impl UnwindSafe for PanelStyle
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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