Struct objc2_app_kit::NSVisualEffectMaterial
source · #[repr(transparent)]pub struct NSVisualEffectMaterial(pub NSInteger);
Available on crate feature
NSVisualEffectView
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl NSVisualEffectMaterial
impl NSVisualEffectMaterial
pub const Titlebar: Self = _
pub const Selection: Self = _
pub const Menu: Self = _
pub const Popover: Self = _
pub const Sidebar: Self = _
pub const HeaderView: Self = _
pub const Sheet: Self = _
pub const WindowBackground: Self = _
pub const HUDWindow: Self = _
pub const FullScreenUI: Self = _
pub const ToolTip: Self = _
pub const ContentBackground: Self = _
pub const UnderWindowBackground: Self = _
pub const UnderPageBackground: Self = _
pub const AppearanceBased: Self = _
👎Deprecated: Use a specific semantic material instead.
pub const Light: Self = _
👎Deprecated: Use a semantic material instead. To force the appearance of a view hierarchy, set the
appearance
property to an appropriate NSAppearance value.pub const Dark: Self = _
👎Deprecated: Use a semantic material instead. To force the appearance of a view hierarchy, set the
appearance
property to an appropriate NSAppearance value.pub const MediumLight: Self = _
👎Deprecated: Use a semantic material instead. To force the appearance of a view hierarchy, set the
appearance
property to an appropriate NSAppearance value.pub const UltraDark: Self = _
👎Deprecated: Use a semantic material instead. To force the appearance of a view hierarchy, set the
appearance
property to an appropriate NSAppearance value.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 Encode for NSVisualEffectMaterial
impl Encode for NSVisualEffectMaterial
source§impl Hash for NSVisualEffectMaterial
impl Hash for NSVisualEffectMaterial
source§impl Ord for NSVisualEffectMaterial
impl Ord for NSVisualEffectMaterial
source§fn cmp(&self, other: &NSVisualEffectMaterial) -> Ordering
fn cmp(&self, other: &NSVisualEffectMaterial) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NSVisualEffectMaterial
impl PartialEq 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 ==
.source§impl PartialOrd for NSVisualEffectMaterial
impl PartialOrd for NSVisualEffectMaterial
source§fn partial_cmp(&self, other: &NSVisualEffectMaterial) -> Option<Ordering>
fn partial_cmp(&self, other: &NSVisualEffectMaterial) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for NSVisualEffectMaterial
impl RefEncode for NSVisualEffectMaterial
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSVisualEffectMaterial
impl Eq for NSVisualEffectMaterial
impl StructuralPartialEq for NSVisualEffectMaterial
Auto Trait Implementations§
impl Freeze for NSVisualEffectMaterial
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.