Struct objc2_foundation::NSGrammaticalCase
source · #[repr(transparent)]pub struct NSGrammaticalCase(pub NSInteger);
Available on crate feature
NSMorphology
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl NSGrammaticalCase
impl NSGrammaticalCase
pub const NotSet: Self = _
pub const Nominative: Self = _
pub const Accusative: Self = _
pub const Dative: Self = _
pub const Genitive: Self = _
pub const Prepositional: Self = _
pub const Ablative: Self = _
pub const Adessive: Self = _
pub const Allative: Self = _
pub const Elative: Self = _
pub const Illative: Self = _
pub const Essive: Self = _
pub const Inessive: Self = _
pub const Locative: Self = _
pub const Translative: Self = _
Trait Implementations§
source§impl Clone for NSGrammaticalCase
impl Clone for NSGrammaticalCase
source§fn clone(&self) -> NSGrammaticalCase
fn clone(&self) -> NSGrammaticalCase
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 NSGrammaticalCase
impl Debug for NSGrammaticalCase
source§impl Encode for NSGrammaticalCase
impl Encode for NSGrammaticalCase
source§impl Hash for NSGrammaticalCase
impl Hash for NSGrammaticalCase
source§impl Ord for NSGrammaticalCase
impl Ord for NSGrammaticalCase
source§fn cmp(&self, other: &NSGrammaticalCase) -> Ordering
fn cmp(&self, other: &NSGrammaticalCase) -> 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 NSGrammaticalCase
impl PartialEq for NSGrammaticalCase
source§fn eq(&self, other: &NSGrammaticalCase) -> bool
fn eq(&self, other: &NSGrammaticalCase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSGrammaticalCase
impl PartialOrd for NSGrammaticalCase
source§fn partial_cmp(&self, other: &NSGrammaticalCase) -> Option<Ordering>
fn partial_cmp(&self, other: &NSGrammaticalCase) -> 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 NSGrammaticalCase
impl RefEncode for NSGrammaticalCase
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 NSGrammaticalCase
impl Eq for NSGrammaticalCase
impl StructuralPartialEq for NSGrammaticalCase
Auto Trait Implementations§
impl Freeze for NSGrammaticalCase
impl RefUnwindSafe for NSGrammaticalCase
impl Send for NSGrammaticalCase
impl Sync for NSGrammaticalCase
impl Unpin for NSGrammaticalCase
impl UnwindSafe for NSGrammaticalCase
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.