pub enum NumberStyle {
PkNumberStyleDecimal,
PkNumberStylePercent,
PkNumberStyleScientific,
PkNumberStyleSpellOut,
}Expand description
Style of number to display. Number styles have the same meaning as the Cocoa number formatter styles with corresponding names. See https://developer.apple.com/documentation/foundation/nsnumberformatterstyle
Variants§
PkNumberStyleDecimal
Number style PKNumberStyleDecimal
PkNumberStylePercent
Number style PKNumberStylePercent
PkNumberStyleScientific
Number style PKNumberStyleScientific
PkNumberStyleSpellOut
Number style PKNumberStyleSpellOut
Trait Implementations§
Source§impl Clone for NumberStyle
impl Clone for NumberStyle
Source§fn clone(&self) -> NumberStyle
fn clone(&self) -> NumberStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NumberStyle
impl Debug for NumberStyle
Source§impl<'de> Deserialize<'de> for NumberStyle
impl<'de> Deserialize<'de> for NumberStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NumberStyle
impl RefUnwindSafe for NumberStyle
impl Send for NumberStyle
impl Sync for NumberStyle
impl Unpin for NumberStyle
impl UnsafeUnpin for NumberStyle
impl UnwindSafe for NumberStyle
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