Struct objc2_app_kit::NSMenuProperties
source · #[repr(transparent)]pub struct NSMenuProperties(pub NSUInteger);
Available on crate feature
NSMenu
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSMenuProperties
impl NSMenuProperties
pub const NSMenuPropertyItemTitle: Self = _
pub const NSMenuPropertyItemAttributedTitle: Self = _
pub const NSMenuPropertyItemKeyEquivalent: Self = _
pub const NSMenuPropertyItemImage: Self = _
pub const NSMenuPropertyItemEnabled: Self = _
pub const NSMenuPropertyItemAccessibilityDescription: Self = _
Trait Implementations§
source§impl Clone for NSMenuProperties
impl Clone for NSMenuProperties
source§fn clone(&self) -> NSMenuProperties
fn clone(&self) -> NSMenuProperties
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 NSMenuProperties
impl Debug for NSMenuProperties
source§impl Encode for NSMenuProperties
impl Encode for NSMenuProperties
source§impl Hash for NSMenuProperties
impl Hash for NSMenuProperties
source§impl Ord for NSMenuProperties
impl Ord for NSMenuProperties
source§fn cmp(&self, other: &NSMenuProperties) -> Ordering
fn cmp(&self, other: &NSMenuProperties) -> 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 NSMenuProperties
impl PartialEq for NSMenuProperties
source§fn eq(&self, other: &NSMenuProperties) -> bool
fn eq(&self, other: &NSMenuProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSMenuProperties
impl PartialOrd for NSMenuProperties
source§fn partial_cmp(&self, other: &NSMenuProperties) -> Option<Ordering>
fn partial_cmp(&self, other: &NSMenuProperties) -> 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 NSMenuProperties
impl RefEncode for NSMenuProperties
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 NSMenuProperties
impl Eq for NSMenuProperties
impl StructuralPartialEq for NSMenuProperties
Auto Trait Implementations§
impl Freeze for NSMenuProperties
impl RefUnwindSafe for NSMenuProperties
impl Send for NSMenuProperties
impl Sync for NSMenuProperties
impl Unpin for NSMenuProperties
impl UnwindSafe for NSMenuProperties
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.