#[repr(u64)]pub enum NSGlassEffectViewStyle {
Show 24 variants
Regular = 0,
Clear = 1,
Dock = 2,
AppIcons = 3,
Widgets = 4,
Text = 5,
AvPlayer = 6,
FaceTime = 7,
ControlCenter = 8,
NotificationCenter = 9,
Monogram = 10,
Bubbles = 11,
Identity = 12,
FocusBorder = 13,
FocusPlatter = 14,
Keyboard = 15,
Sidebar = 16,
AbuttedSidebar = 17,
Inspector = 18,
Control = 19,
Loupe = 20,
Slider = 21,
Camera = 22,
CartouchePopover = 23,
}Expand description
Note that only the first two variants Regular (0) and Clear (1) are officially supported, see https://developer.apple.com/documentation/appkit/nsglasseffectview/style-swift.enum.
All other variants use private macOS APIs and may change or break at any time.
Variants§
Regular = 0
macOS 26.0+
Clear = 1
macOS 26.0+
Dock = 2
macOS 26.0+
AppIcons = 3
macOS 26.0+
Widgets = 4
macOS 26.0+
Text = 5
macOS 26.0+
AvPlayer = 6
macOS 26.0+
FaceTime = 7
macOS 26.0+
ControlCenter = 8
macOS 26.0+
NotificationCenter = 9
macOS 26.0+
Monogram = 10
macOS 26.0+
Bubbles = 11
macOS 26.0+
Identity = 12
macOS 26.0+
FocusBorder = 13
macOS 26.0+
FocusPlatter = 14
macOS 26.0+
Keyboard = 15
macOS 26.0+
Sidebar = 16
macOS 26.0+
AbuttedSidebar = 17
macOS 26.0+
Inspector = 18
macOS 26.0+
Control = 19
macOS 26.0+
Loupe = 20
macOS 26.0+
Slider = 21
macOS 26.0+
Camera = 22
macOS 26.0+
CartouchePopover = 23
macOS 26.0+
Trait Implementations§
Source§impl Clone for NSGlassEffectViewStyle
impl Clone for NSGlassEffectViewStyle
Source§fn clone(&self) -> NSGlassEffectViewStyle
fn clone(&self) -> NSGlassEffectViewStyle
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 NSGlassEffectViewStyle
impl Debug for NSGlassEffectViewStyle
Source§impl PartialEq for NSGlassEffectViewStyle
impl PartialEq for NSGlassEffectViewStyle
impl Copy for NSGlassEffectViewStyle
impl StructuralPartialEq for NSGlassEffectViewStyle
Auto Trait Implementations§
impl Freeze for NSGlassEffectViewStyle
impl RefUnwindSafe for NSGlassEffectViewStyle
impl Send for NSGlassEffectViewStyle
impl Sync for NSGlassEffectViewStyle
impl Unpin for NSGlassEffectViewStyle
impl UnwindSafe for NSGlassEffectViewStyle
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