Struct icu::decimal::provider::DecimalSymbolsV1[][src]

pub struct DecimalSymbolsV1 {
    pub minus_sign_affixes: AffixesV1,
    pub plus_sign_affixes: AffixesV1,
    pub decimal_separator: SmallString<[u8; 8]>,
    pub grouping_separator: SmallString<[u8; 8]>,
    pub grouping_sizes: GroupingSizesV1,
    pub digits: [char; 10],
}

Symbols and metadata required for formatting a FixedDecimal.

Fields

minus_sign_affixes: AffixesV1

Prefix and suffix to apply when a negative sign is needed.

plus_sign_affixes: AffixesV1

Prefix and suffix to apply when a plus sign is needed.

decimal_separator: SmallString<[u8; 8]>

Character used to separate the integer and fraction parts of the number.

grouping_separator: SmallString<[u8; 8]>

Character used to separate groups in the integer part of the number.

grouping_sizes: GroupingSizesV1

Settings used to determine where to place groups in the integer part of the number.

digits: [char; 10]

Digit characters for the current numbering system. In most systems, these digits are contiguous, but in some systems, such as hanidec, they are not contiguous.

Trait Implementations

impl Clone for DecimalSymbolsV1[src]

impl Debug for DecimalSymbolsV1[src]

impl Default for DecimalSymbolsV1[src]

impl<'de> Deserialize<'de> for DecimalSymbolsV1[src]

impl PartialEq<DecimalSymbolsV1> for DecimalSymbolsV1[src]

impl Serialize for DecimalSymbolsV1[src]

impl StructuralPartialEq for DecimalSymbolsV1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> ErasedDataStruct for T where
    T: Clone + Debug + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'s, T> SerdeSeDataStruct<'s> for T where
    T: 's + Serialize + Clone + Debug

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.