Enum crabgrab::platform::macos::MacosWindowLevel
source · pub enum MacosWindowLevel {
Show 19 variants
BelowDesktop = 0,
Desktop = 1,
DesktopIcon = 2,
Backstop = 3,
Normal = 4,
Floating = 5,
TornOffMenu = 6,
Dock = 7,
MainMenu = 8,
Status = 9,
ModalPanel = 10,
PopupMenu = 11,
Dragging = 12,
ScreenSaver = 13,
Overlay = 14,
Help = 15,
Utility = 16,
Cursor = 17,
AssistiveTechHigh = 18,
}
Expand description
Mac OS “window level” Represents the “window level” of a native Mac OS window. Windows within the same level are ordered above or below levels that are above below or above this level respectively.
Variants§
BelowDesktop = 0
Desktop = 1
DesktopIcon = 2
Backstop = 3
Normal = 4
Floating = 5
TornOffMenu = 6
Dock = 7
MainMenu = 8
Status = 9
ModalPanel = 10
PopupMenu = 11
Dragging = 12
ScreenSaver = 13
Overlay = 14
Help = 15
Utility = 16
Cursor = 17
AssistiveTechHigh = 18
Trait Implementations§
source§impl Clone for MacosWindowLevel
impl Clone for MacosWindowLevel
source§fn clone(&self) -> MacosWindowLevel
fn clone(&self) -> MacosWindowLevel
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 Debug for MacosWindowLevel
impl Debug for MacosWindowLevel
source§impl Ord for MacosWindowLevel
impl Ord for MacosWindowLevel
source§fn cmp(&self, other: &MacosWindowLevel) -> Ordering
fn cmp(&self, other: &MacosWindowLevel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MacosWindowLevel
impl PartialEq for MacosWindowLevel
source§fn eq(&self, other: &MacosWindowLevel) -> bool
fn eq(&self, other: &MacosWindowLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MacosWindowLevel
impl PartialOrd for MacosWindowLevel
source§fn partial_cmp(&self, other: &MacosWindowLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &MacosWindowLevel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MacosWindowLevel
impl Eq for MacosWindowLevel
impl StructuralPartialEq for MacosWindowLevel
Auto Trait Implementations§
impl Freeze for MacosWindowLevel
impl RefUnwindSafe for MacosWindowLevel
impl Send for MacosWindowLevel
impl Sync for MacosWindowLevel
impl Unpin for MacosWindowLevel
impl UnwindSafe for MacosWindowLevel
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.