Struct objc2_app_kit::NSBezelStyle
source · #[repr(transparent)]pub struct NSBezelStyle(pub NSUInteger);
Available on crate feature
NSButtonCell
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSBezelStyle
impl NSBezelStyle
pub const Automatic: Self = _
pub const Push: Self = _
pub const FlexiblePush: Self = _
pub const Disclosure: Self = _
pub const Circular: Self = _
pub const HelpButton: Self = _
pub const SmallSquare: Self = _
pub const Toolbar: Self = _
pub const AccessoryBarAction: Self = _
pub const AccessoryBar: Self = _
pub const PushDisclosure: Self = _
pub const Badge: Self = _
pub const ShadowlessSquare: Self = _
👎Deprecated
pub const TexturedSquare: Self = _
👎Deprecated
pub const Rounded: Self = _
👎Deprecated
pub const RegularSquare: Self = _
👎Deprecated
pub const TexturedRounded: Self = _
👎Deprecated
pub const RoundRect: Self = _
👎Deprecated
pub const Recessed: Self = _
👎Deprecated
pub const RoundedDisclosure: Self = _
👎Deprecated
pub const Inline: Self = _
👎Deprecated
Trait Implementations§
source§impl Clone for NSBezelStyle
impl Clone for NSBezelStyle
source§fn clone(&self) -> NSBezelStyle
fn clone(&self) -> NSBezelStyle
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 NSBezelStyle
impl Debug for NSBezelStyle
source§impl Encode for NSBezelStyle
impl Encode for NSBezelStyle
source§impl Hash for NSBezelStyle
impl Hash for NSBezelStyle
source§impl Ord for NSBezelStyle
impl Ord for NSBezelStyle
source§fn cmp(&self, other: &NSBezelStyle) -> Ordering
fn cmp(&self, other: &NSBezelStyle) -> 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 NSBezelStyle
impl PartialEq for NSBezelStyle
source§fn eq(&self, other: &NSBezelStyle) -> bool
fn eq(&self, other: &NSBezelStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSBezelStyle
impl PartialOrd for NSBezelStyle
source§fn partial_cmp(&self, other: &NSBezelStyle) -> Option<Ordering>
fn partial_cmp(&self, other: &NSBezelStyle) -> 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 NSBezelStyle
impl RefEncode for NSBezelStyle
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 NSBezelStyle
impl Eq for NSBezelStyle
impl StructuralPartialEq for NSBezelStyle
Auto Trait Implementations§
impl Freeze for NSBezelStyle
impl RefUnwindSafe for NSBezelStyle
impl Send for NSBezelStyle
impl Sync for NSBezelStyle
impl Unpin for NSBezelStyle
impl UnwindSafe for NSBezelStyle
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.