Struct objc2_foundation::NSNumberFormatterStyle
source · #[repr(transparent)]pub struct NSNumberFormatterStyle(pub NSUInteger);
Available on crate feature
NSNumberFormatter
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSNumberFormatterStyle
impl NSNumberFormatterStyle
pub const NSNumberFormatterNoStyle: Self = _
pub const NSNumberFormatterDecimalStyle: Self = _
pub const NSNumberFormatterCurrencyStyle: Self = _
pub const NSNumberFormatterPercentStyle: Self = _
pub const NSNumberFormatterScientificStyle: Self = _
pub const NSNumberFormatterSpellOutStyle: Self = _
pub const NSNumberFormatterOrdinalStyle: Self = _
pub const NSNumberFormatterCurrencyISOCodeStyle: Self = _
pub const NSNumberFormatterCurrencyPluralStyle: Self = _
pub const NSNumberFormatterCurrencyAccountingStyle: Self = _
Trait Implementations§
source§impl Clone for NSNumberFormatterStyle
impl Clone for NSNumberFormatterStyle
source§fn clone(&self) -> NSNumberFormatterStyle
fn clone(&self) -> NSNumberFormatterStyle
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 NSNumberFormatterStyle
impl Debug for NSNumberFormatterStyle
source§impl Encode for NSNumberFormatterStyle
impl Encode for NSNumberFormatterStyle
source§impl Hash for NSNumberFormatterStyle
impl Hash for NSNumberFormatterStyle
source§impl Ord for NSNumberFormatterStyle
impl Ord for NSNumberFormatterStyle
source§fn cmp(&self, other: &NSNumberFormatterStyle) -> Ordering
fn cmp(&self, other: &NSNumberFormatterStyle) -> 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 NSNumberFormatterStyle
impl PartialEq for NSNumberFormatterStyle
source§fn eq(&self, other: &NSNumberFormatterStyle) -> bool
fn eq(&self, other: &NSNumberFormatterStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSNumberFormatterStyle
impl PartialOrd for NSNumberFormatterStyle
source§fn partial_cmp(&self, other: &NSNumberFormatterStyle) -> Option<Ordering>
fn partial_cmp(&self, other: &NSNumberFormatterStyle) -> 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 NSNumberFormatterStyle
impl RefEncode for NSNumberFormatterStyle
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 NSNumberFormatterStyle
impl Eq for NSNumberFormatterStyle
impl StructuralPartialEq for NSNumberFormatterStyle
Auto Trait Implementations§
impl Freeze for NSNumberFormatterStyle
impl RefUnwindSafe for NSNumberFormatterStyle
impl Send for NSNumberFormatterStyle
impl Sync for NSNumberFormatterStyle
impl Unpin for NSNumberFormatterStyle
impl UnwindSafe for NSNumberFormatterStyle
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.