pub enum WindowLevel {
AppWindow,
Tooltip(WindowHandle),
DropDown(WindowHandle),
Modal(WindowHandle),
}
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§
AppWindow
A top level app window.
Tooltip(WindowHandle)
A window that should stay above app windows - like a tooltip
DropDown(WindowHandle)
A user interface element such as a dropdown menu or combo box
Modal(WindowHandle)
A modal dialog
Trait Implementations§
Source§impl Clone for WindowLevel
impl Clone for WindowLevel
Source§fn clone(&self) -> WindowLevel
fn clone(&self) -> WindowLevel
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for WindowLevel
impl PartialEq for WindowLevel
impl Eq for WindowLevel
impl StructuralPartialEq for WindowLevel
Auto Trait Implementations§
impl Freeze for WindowLevel
impl !RefUnwindSafe for WindowLevel
impl !Send for WindowLevel
impl !Sync for WindowLevel
impl Unpin for WindowLevel
impl !UnwindSafe for WindowLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.