pub enum WindowLevel {
Normal,
Floating,
AboveDock,
DesktopIcon,
}Expand description
How high a window floats (its level).
Variants§
Normal
The normal level.
Floating
Above normal windows: a floating palette or a widget.
AboveDock
Above the Dock and the taskbar (an overlay, a launcher).
DesktopIcon
macOS’s desktop icon level; on Windows, moves to the bottom of the current z-order (later activation can raise the window).
Trait Implementations§
Source§impl Clone for WindowLevel
impl Clone for WindowLevel
impl Copy for WindowLevel
Source§impl Debug for WindowLevel
impl Debug for WindowLevel
Source§impl Default for WindowLevel
impl Default for WindowLevel
impl Eq for WindowLevel
Source§impl Hash for WindowLevel
impl Hash for WindowLevel
Source§impl HostValue for WindowLevel
impl HostValue for WindowLevel
Source§impl JsValue for WindowLevel
impl JsValue for WindowLevel
Source§impl PartialEq for WindowLevel
impl PartialEq for WindowLevel
Source§impl PropEnum for WindowLevel
impl PropEnum for WindowLevel
impl StructuralPartialEq for WindowLevel
Auto Trait Implementations§
impl Forget for WindowLevel
impl Freeze for WindowLevel
impl Move for WindowLevel
impl RefUnwindSafe for WindowLevel
impl Send for WindowLevel
impl Sync for WindowLevel
impl Unpin for WindowLevel
impl UnsafeUnpin 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> CallbackArgs for Twhere
T: Ret,
impl<T> CallbackArgs for Twhere
T: Ret,
Source§fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
Its TypeScript parameters, named
names (name: string, amount: number), or without names value for one and a, b, … for
several.Source§fn into_js_args<'a>(
self,
host: &'a dyn JsHost,
) -> Result<Vec<JsOwned<'a>>, PropError>
fn into_js_args<'a>( self, host: &'a dyn JsHost, ) -> Result<Vec<JsOwned<'a>>, PropError>
The arguments as JS values.