#[repr(transparent)]pub struct NSGrammaticalPartOfSpeech(pub NSInteger);
Available on crate feature
NSMorphology
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl NSGrammaticalPartOfSpeech
impl NSGrammaticalPartOfSpeech
pub const NotSet: Self = _
pub const Determiner: Self = _
pub const Pronoun: Self = _
pub const Letter: Self = _
pub const Adverb: Self = _
pub const Particle: Self = _
pub const Adjective: Self = _
pub const Adposition: Self = _
pub const Verb: Self = _
pub const Noun: Self = _
pub const Conjunction: Self = _
pub const Numeral: Self = _
pub const Interjection: Self = _
pub const Preposition: Self = _
pub const Abbreviation: Self = _
Trait Implementations§
source§impl Clone for NSGrammaticalPartOfSpeech
impl Clone for NSGrammaticalPartOfSpeech
source§fn clone(&self) -> NSGrammaticalPartOfSpeech
fn clone(&self) -> NSGrammaticalPartOfSpeech
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 NSGrammaticalPartOfSpeech
impl Debug for NSGrammaticalPartOfSpeech
source§impl Encode for NSGrammaticalPartOfSpeech
impl Encode for NSGrammaticalPartOfSpeech
source§impl Hash for NSGrammaticalPartOfSpeech
impl Hash for NSGrammaticalPartOfSpeech
source§impl Ord for NSGrammaticalPartOfSpeech
impl Ord for NSGrammaticalPartOfSpeech
source§fn cmp(&self, other: &NSGrammaticalPartOfSpeech) -> Ordering
fn cmp(&self, other: &NSGrammaticalPartOfSpeech) -> 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 NSGrammaticalPartOfSpeech
impl PartialEq for NSGrammaticalPartOfSpeech
source§fn eq(&self, other: &NSGrammaticalPartOfSpeech) -> bool
fn eq(&self, other: &NSGrammaticalPartOfSpeech) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSGrammaticalPartOfSpeech
impl PartialOrd for NSGrammaticalPartOfSpeech
source§fn partial_cmp(&self, other: &NSGrammaticalPartOfSpeech) -> Option<Ordering>
fn partial_cmp(&self, other: &NSGrammaticalPartOfSpeech) -> 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 NSGrammaticalPartOfSpeech
impl RefEncode for NSGrammaticalPartOfSpeech
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 NSGrammaticalPartOfSpeech
impl Eq for NSGrammaticalPartOfSpeech
impl StructuralPartialEq for NSGrammaticalPartOfSpeech
Auto Trait Implementations§
impl Freeze for NSGrammaticalPartOfSpeech
impl RefUnwindSafe for NSGrammaticalPartOfSpeech
impl Send for NSGrammaticalPartOfSpeech
impl Sync for NSGrammaticalPartOfSpeech
impl Unpin for NSGrammaticalPartOfSpeech
impl UnwindSafe for NSGrammaticalPartOfSpeech
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.