Struct objc2_foundation::NSTextCheckingType
source · #[repr(transparent)]pub struct NSTextCheckingType(pub u64);
Available on crate feature
NSTextCheckingResult
only.Tuple Fields§
§0: u64
Implementations§
source§impl NSTextCheckingType
impl NSTextCheckingType
pub const Orthography: Self = _
pub const Spelling: Self = _
pub const Grammar: Self = _
pub const Date: Self = _
pub const Address: Self = _
pub const Link: Self = _
pub const Quote: Self = _
pub const Dash: Self = _
pub const Replacement: Self = _
pub const Correction: Self = _
pub const RegularExpression: Self = _
pub const PhoneNumber: Self = _
pub const TransitInformation: Self = _
Trait Implementations§
source§impl Clone for NSTextCheckingType
impl Clone for NSTextCheckingType
source§fn clone(&self) -> NSTextCheckingType
fn clone(&self) -> NSTextCheckingType
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 NSTextCheckingType
impl Debug for NSTextCheckingType
source§impl Encode for NSTextCheckingType
impl Encode for NSTextCheckingType
source§impl Hash for NSTextCheckingType
impl Hash for NSTextCheckingType
source§impl Ord for NSTextCheckingType
impl Ord for NSTextCheckingType
source§fn cmp(&self, other: &NSTextCheckingType) -> Ordering
fn cmp(&self, other: &NSTextCheckingType) -> 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 NSTextCheckingType
impl PartialEq for NSTextCheckingType
source§fn eq(&self, other: &NSTextCheckingType) -> bool
fn eq(&self, other: &NSTextCheckingType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSTextCheckingType
impl PartialOrd for NSTextCheckingType
source§fn partial_cmp(&self, other: &NSTextCheckingType) -> Option<Ordering>
fn partial_cmp(&self, other: &NSTextCheckingType) -> 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 NSTextCheckingType
impl RefEncode for NSTextCheckingType
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 NSTextCheckingType
impl Eq for NSTextCheckingType
impl StructuralPartialEq for NSTextCheckingType
Auto Trait Implementations§
impl Freeze for NSTextCheckingType
impl RefUnwindSafe for NSTextCheckingType
impl Send for NSTextCheckingType
impl Sync for NSTextCheckingType
impl Unpin for NSTextCheckingType
impl UnwindSafe for NSTextCheckingType
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.