#[repr(transparent)]pub struct CFNumberFormatterStyle(pub CFIndex);
Available on crate feature
CFNumberFormatter
only.Expand description
Tuple Fields§
§0: CFIndex
Implementations§
Source§impl CFNumberFormatterStyle
impl CFNumberFormatterStyle
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 CFNumberFormatterStyle
impl Clone for CFNumberFormatterStyle
Source§fn clone(&self) -> CFNumberFormatterStyle
fn clone(&self) -> CFNumberFormatterStyle
Returns a duplicate 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 CFNumberFormatterStyle
impl Debug for CFNumberFormatterStyle
Source§impl Encode for CFNumberFormatterStyle
Available on crate feature objc2
only.
impl Encode for CFNumberFormatterStyle
Available on crate feature
objc2
only.Source§impl Hash for CFNumberFormatterStyle
impl Hash for CFNumberFormatterStyle
Source§impl Ord for CFNumberFormatterStyle
impl Ord for CFNumberFormatterStyle
Source§fn cmp(&self, other: &CFNumberFormatterStyle) -> Ordering
fn cmp(&self, other: &CFNumberFormatterStyle) -> 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 CFNumberFormatterStyle
impl PartialEq for CFNumberFormatterStyle
Source§impl PartialOrd for CFNumberFormatterStyle
impl PartialOrd for CFNumberFormatterStyle
Source§impl RefEncode for CFNumberFormatterStyle
Available on crate feature objc2
only.
impl RefEncode for CFNumberFormatterStyle
Available on crate feature
objc2
only.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 CFNumberFormatterStyle
impl Eq for CFNumberFormatterStyle
impl StructuralPartialEq for CFNumberFormatterStyle
Auto Trait Implementations§
impl Freeze for CFNumberFormatterStyle
impl RefUnwindSafe for CFNumberFormatterStyle
impl Send for CFNumberFormatterStyle
impl Sync for CFNumberFormatterStyle
impl Unpin for CFNumberFormatterStyle
impl UnwindSafe for CFNumberFormatterStyle
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.