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