#[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,
}
Expand description

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.