#[repr(transparent)]pub struct NSNumberFormatterStyle(pub NSUInteger);
Available on crate feature
NSNumberFormatter
only.Expand description
Tuple Fields§
§0: NSUInteger
Implementations§
Source§impl NSNumberFormatterStyle
impl NSNumberFormatterStyle
pub const NoStyle: Self
pub const DecimalStyle: Self
pub const CurrencyStyle: Self
pub const PercentStyle: Self
pub const ScientificStyle: Self
pub const SpellOutStyle: Self
pub const OrdinalStyle: Self
pub const CurrencyISOCodeStyle: Self
pub const CurrencyPluralStyle: Self
pub const CurrencyAccountingStyle: 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§impl PartialOrd for NSNumberFormatterStyle
impl PartialOrd for NSNumberFormatterStyle
Source§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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.