pub enum WindowBackground {
Solid,
Transparent,
Blurred,
Glass,
}Expand description
What the window shows behind the app’s painting. Anything but Solid lets what is
behind the window show where the app paints nothing.
Variants§
Solid
Transparent
Blurred
The system’s blur of what lies behind the window (macOS vibrancy).
Glass
The system’s glass material (macOS 26’s Liquid Glass); the blur where the system has none.
Implementations§
Source§impl WindowBackground
impl WindowBackground
Sourcepub fn sees_through(self) -> bool
pub fn sees_through(self) -> bool
Whether what is behind the window can show through it.
Trait Implementations§
Source§impl Clone for WindowBackground
impl Clone for WindowBackground
impl Copy for WindowBackground
Source§impl Debug for WindowBackground
impl Debug for WindowBackground
Source§impl Default for WindowBackground
impl Default for WindowBackground
impl Eq for WindowBackground
Source§impl PartialEq for WindowBackground
impl PartialEq for WindowBackground
impl StructuralPartialEq for WindowBackground
Auto Trait Implementations§
impl Freeze for WindowBackground
impl RefUnwindSafe for WindowBackground
impl Send for WindowBackground
impl Sync for WindowBackground
impl Unpin for WindowBackground
impl UnsafeUnpin for WindowBackground
impl UnwindSafe for WindowBackground
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.