Enum cocoa::appkit::NSVisualEffectMaterial
source · #[repr(u64)]pub enum NSVisualEffectMaterial {
Show 19 variants
AppearanceBased,
Light,
Dark,
MediumLight,
UltraDark,
Titlebar,
Selection,
Menu,
Popover,
Sidebar,
HeaderView,
Sheet,
WindowBackground,
HudWindow,
FullScreenUI,
Tooltip,
ContentBackground,
UnderWindowBackground,
UnderPageBackground,
}
Variants§
AppearanceBased
👎Deprecated: Use a semantic material instead.
A default material for the view’s effectiveAppearance.
Light
👎Deprecated: Use a semantic material instead.
Dark
👎Deprecated: Use a semantic material instead.
MediumLight
👎Deprecated: Use a semantic material instead.
UltraDark
👎Deprecated: Use a semantic material instead.
Titlebar
Selection
Menu
Popover
Sidebar
HeaderView
Sheet
WindowBackground
HudWindow
FullScreenUI
Tooltip
ContentBackground
UnderWindowBackground
UnderPageBackground
Trait Implementations§
source§impl Clone for NSVisualEffectMaterial
impl Clone for NSVisualEffectMaterial
source§fn clone(&self) -> NSVisualEffectMaterial
fn clone(&self) -> NSVisualEffectMaterial
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 NSVisualEffectMaterial
impl Debug for NSVisualEffectMaterial
source§impl PartialEq<NSVisualEffectMaterial> for NSVisualEffectMaterial
impl PartialEq<NSVisualEffectMaterial> for NSVisualEffectMaterial
source§fn eq(&self, other: &NSVisualEffectMaterial) -> bool
fn eq(&self, other: &NSVisualEffectMaterial) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NSVisualEffectMaterial
impl Eq for NSVisualEffectMaterial
impl StructuralEq for NSVisualEffectMaterial
impl StructuralPartialEq for NSVisualEffectMaterial
Auto Trait Implementations§
impl RefUnwindSafe for NSVisualEffectMaterial
impl Send for NSVisualEffectMaterial
impl Sync for NSVisualEffectMaterial
impl Unpin for NSVisualEffectMaterial
impl UnwindSafe for NSVisualEffectMaterial
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