pub enum PositiveCurrency {
Mode0,
Mode1,
Mode2,
Mode3,
}Variants§
Mode0
Prefix, no separation, for example, $1.1
Mode1
Suffix, no separation, for example, 1.1$
Mode2
Prefix, 1-character separation, for example, $ 1.1
Mode3
Suffix, 1-character separation, for example, 1.1 $
Trait Implementations§
Source§impl Clone for PositiveCurrency
impl Clone for PositiveCurrency
Source§fn clone(&self) -> PositiveCurrency
fn clone(&self) -> PositiveCurrency
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 PositiveCurrency
impl Debug for PositiveCurrency
impl Copy for PositiveCurrency
Auto Trait Implementations§
impl Freeze for PositiveCurrency
impl RefUnwindSafe for PositiveCurrency
impl Send for PositiveCurrency
impl Sync for PositiveCurrency
impl Unpin for PositiveCurrency
impl UnwindSafe for PositiveCurrency
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