pub enum WindowZLevelQuality {
None,
BestEffort,
Reliable,
}Expand description
Windowing quality signal: whether OS z-level requests (e.g. AlwaysOnTop during drags) behave predictably.
Variants§
Implementations§
Source§impl WindowZLevelQuality
impl WindowZLevelQuality
pub fn as_str(self) -> &'static str
pub fn clamp_to_available(self, available: Self) -> Self
Trait Implementations§
Source§impl Clone for WindowZLevelQuality
impl Clone for WindowZLevelQuality
Source§fn clone(&self) -> WindowZLevelQuality
fn clone(&self) -> WindowZLevelQuality
Returns a duplicate 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 WindowZLevelQuality
impl Debug for WindowZLevelQuality
Source§impl Default for WindowZLevelQuality
impl Default for WindowZLevelQuality
Source§fn default() -> WindowZLevelQuality
fn default() -> WindowZLevelQuality
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WindowZLevelQuality
impl<'de> Deserialize<'de> for WindowZLevelQuality
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WindowZLevelQuality
impl PartialEq for WindowZLevelQuality
Source§impl Serialize for WindowZLevelQuality
impl Serialize for WindowZLevelQuality
impl Copy for WindowZLevelQuality
impl Eq for WindowZLevelQuality
impl StructuralPartialEq for WindowZLevelQuality
Auto Trait Implementations§
impl Freeze for WindowZLevelQuality
impl RefUnwindSafe for WindowZLevelQuality
impl Send for WindowZLevelQuality
impl Sync for WindowZLevelQuality
impl Unpin for WindowZLevelQuality
impl UnsafeUnpin for WindowZLevelQuality
impl UnwindSafe for WindowZLevelQuality
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