#[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 since macOS 10.14:
A default material appropriate for the view’s effectiveAppearance. You should instead choose an appropriate semantic material.
Light
👎 Deprecated since macOS 10.14:
Use a semantic material instead.
Dark
👎 Deprecated since macOS 10.14:
Use a semantic material instead.
MediumLight
👎 Deprecated since macOS 10.14:
Use a semantic material instead.
UltraDark
👎 Deprecated since macOS 10.14:
Use a semantic material instead.
Titlebar
Selection
Menu
Popover
Sidebar
HeaderView
Sheet
WindowBackground
HudWindow
FullScreenUI
Tooltip
ContentBackground
UnderWindowBackground
UnderPageBackground
Trait Implementations
sourceimpl Clone for NSVisualEffectMaterial
impl Clone for NSVisualEffectMaterial
sourcefn clone(&self) -> NSVisualEffectMaterial
fn clone(&self) -> NSVisualEffectMaterial
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NSVisualEffectMaterial
impl Debug for NSVisualEffectMaterial
impl Copy 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more