pub struct GlassSupport {
pub supported: bool,
pub fallback: bool,
}Fields§
§supported: booltrue when the real NSGlassEffectView (macOS 26+) is available.
fallback: booltrue when set_window_glass would use the NSVisualEffectView
blur fallback instead of real glass.
Trait Implementations§
Source§impl Clone for GlassSupport
impl Clone for GlassSupport
Source§fn clone(&self) -> GlassSupport
fn clone(&self) -> GlassSupport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GlassSupport
impl Debug for GlassSupport
Source§impl<'de> Deserialize<'de> for GlassSupport
impl<'de> Deserialize<'de> for GlassSupport
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
Auto Trait Implementations§
impl Freeze for GlassSupport
impl RefUnwindSafe for GlassSupport
impl Send for GlassSupport
impl Sync for GlassSupport
impl Unpin for GlassSupport
impl UnsafeUnpin for GlassSupport
impl UnwindSafe for GlassSupport
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