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