Struct objc2_foundation::NSActivityOptions
source · #[repr(transparent)]pub struct NSActivityOptions(pub u64);
Available on crate feature
NSProcessInfo
only.Tuple Fields§
§0: u64
Implementations§
source§impl NSActivityOptions
impl NSActivityOptions
pub const NSActivityIdleDisplaySleepDisabled: Self = _
pub const NSActivityIdleSystemSleepDisabled: Self = _
pub const NSActivitySuddenTerminationDisabled: Self = _
pub const NSActivityAutomaticTerminationDisabled: Self = _
pub const NSActivityAnimationTrackingEnabled: Self = _
pub const NSActivityTrackingEnabled: Self = _
pub const NSActivityUserInitiated: Self = _
pub const NSActivityUserInitiatedAllowingIdleSystemSleep: Self = _
pub const NSActivityBackground: Self = _
pub const NSActivityLatencyCritical: Self = _
pub const NSActivityUserInteractive: Self = _
Trait Implementations§
source§impl Clone for NSActivityOptions
impl Clone for NSActivityOptions
source§fn clone(&self) -> NSActivityOptions
fn clone(&self) -> NSActivityOptions
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 NSActivityOptions
impl Debug for NSActivityOptions
source§impl Encode for NSActivityOptions
impl Encode for NSActivityOptions
source§impl Hash for NSActivityOptions
impl Hash for NSActivityOptions
source§impl Ord for NSActivityOptions
impl Ord for NSActivityOptions
source§fn cmp(&self, other: &NSActivityOptions) -> Ordering
fn cmp(&self, other: &NSActivityOptions) -> 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 NSActivityOptions
impl PartialEq for NSActivityOptions
source§fn eq(&self, other: &NSActivityOptions) -> bool
fn eq(&self, other: &NSActivityOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSActivityOptions
impl PartialOrd for NSActivityOptions
source§fn partial_cmp(&self, other: &NSActivityOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &NSActivityOptions) -> 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 NSActivityOptions
impl RefEncode for NSActivityOptions
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 NSActivityOptions
impl Eq for NSActivityOptions
impl StructuralPartialEq for NSActivityOptions
Auto Trait Implementations§
impl Freeze for NSActivityOptions
impl RefUnwindSafe for NSActivityOptions
impl Send for NSActivityOptions
impl Sync for NSActivityOptions
impl Unpin for NSActivityOptions
impl UnwindSafe for NSActivityOptions
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.