pub struct SignFormat {
pub currency_symbol_precedes: bool,
pub space_separated: bool,
pub sign_location: SignLocation,
}Expand description
This denotes the complete handling of sign placement for a currency value.
Fields§
§currency_symbol_precedes: boolThe currency symbol precedes (or follows) the numeric value.
space_separated: boolA space separates the numeric value and currency symbol.
sign_location: SignLocationPlacement of the sign symbol.
Trait Implementations§
Source§impl Clone for SignFormat
impl Clone for SignFormat
Source§fn clone(&self) -> SignFormat
fn clone(&self) -> SignFormat
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 SignFormat
impl Debug for SignFormat
Source§impl PartialEq for SignFormat
impl PartialEq for SignFormat
Source§fn eq(&self, other: &SignFormat) -> bool
fn eq(&self, other: &SignFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SignFormat
Auto Trait Implementations§
impl Freeze for SignFormat
impl RefUnwindSafe for SignFormat
impl Send for SignFormat
impl Sync for SignFormat
impl Unpin for SignFormat
impl UnsafeUnpin for SignFormat
impl UnwindSafe for SignFormat
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