#[repr(transparent)]pub struct AXPriority(pub CFIndex);Available on crate features
AXNotificationConstants and HIServices only.Expand description
Priority values used for kAXPriorityKey
See also Apple’s documentation
Tuple Fields§
§0: CFIndexImplementations§
Trait Implementations§
Source§impl Clone for AXPriority
impl Clone for AXPriority
Source§fn clone(&self) -> AXPriority
fn clone(&self) -> AXPriority
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AXPriority
impl Debug for AXPriority
Source§impl Encode for AXPriority
Available on crate feature objc2 only.
impl Encode for AXPriority
Available on crate feature
objc2 only.Source§impl Hash for AXPriority
impl Hash for AXPriority
Source§impl Ord for AXPriority
impl Ord for AXPriority
Source§fn cmp(&self, other: &AXPriority) -> Ordering
fn cmp(&self, other: &AXPriority) -> Ordering
1.21.0 (const: unstable) · 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 AXPriority
impl PartialEq for AXPriority
Source§fn eq(&self, other: &AXPriority) -> bool
fn eq(&self, other: &AXPriority) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AXPriority
impl PartialOrd for AXPriority
Source§impl RefEncode for AXPriority
Available on crate feature objc2 only.
impl RefEncode for AXPriority
Available on crate feature
objc2 only.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 AXPriority
impl Eq for AXPriority
impl StructuralPartialEq for AXPriority
Auto Trait Implementations§
impl Freeze for AXPriority
impl RefUnwindSafe for AXPriority
impl Send for AXPriority
impl Sync for AXPriority
impl Unpin for AXPriority
impl UnsafeUnpin for AXPriority
impl UnwindSafe for AXPriority
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.