pub struct CurrencyCellFormat {
pub currency_symbol: String,
pub decimal_precision: usize,
pub positive_sign_format: SignFormat,
pub negative_sign_format: SignFormat,
}Expand description
The actual formatting specification for the currency-specific part of a value.
Fields§
§currency_symbol: Stringcurrency symbol to use.
decimal_precision: usizenumber of digits of precision typically used.
positive_sign_format: SignFormatThe correct way to display positive values.
negative_sign_format: SignFormatThe correct way to display negative values.
Trait Implementations§
Source§impl Clone for CurrencyCellFormat
impl Clone for CurrencyCellFormat
Source§fn clone(&self) -> CurrencyCellFormat
fn clone(&self) -> CurrencyCellFormat
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 CurrencyCellFormat
impl Debug for CurrencyCellFormat
Source§impl PartialEq for CurrencyCellFormat
impl PartialEq for CurrencyCellFormat
Source§fn eq(&self, other: &CurrencyCellFormat) -> bool
fn eq(&self, other: &CurrencyCellFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CurrencyCellFormat
Auto Trait Implementations§
impl Freeze for CurrencyCellFormat
impl RefUnwindSafe for CurrencyCellFormat
impl Send for CurrencyCellFormat
impl Sync for CurrencyCellFormat
impl Unpin for CurrencyCellFormat
impl UnsafeUnpin for CurrencyCellFormat
impl UnwindSafe for CurrencyCellFormat
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