Enum druid_shell::WindowLevel [−][src]
pub enum WindowLevel {
AppWindow,
Tooltip,
DropDown,
Modal,
}
Expand description
Levels in the window system - Z order for display purposes. Describes the purpose of a window and should be mapped appropriately to match platform conventions.
Variants
A top level app window.
A window that should stay above app windows - like a tooltip
A user interface element such as a dropdown menu or combo box
A modal dialog
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WindowLevel
impl Send for WindowLevel
impl Sync for WindowLevel
impl Unpin for WindowLevel
impl UnwindSafe for WindowLevel
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn round_from(x: T) -> T
pub fn round_from(x: T) -> T
Performs the conversion.
pub fn round_into(self) -> U
pub fn round_into(self) -> U
Performs the conversion.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more