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