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
sourceimpl Clone for PositiveCurrency
impl Clone for PositiveCurrency
sourcefn clone(&self) -> PositiveCurrency
fn clone(&self) -> PositiveCurrency
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PositiveCurrency
impl Debug for PositiveCurrency
impl Copy for PositiveCurrency
Auto Trait Implementations
impl RefUnwindSafe for PositiveCurrency
impl Send for PositiveCurrency
impl Sync for PositiveCurrency
impl Unpin for PositiveCurrency
impl UnwindSafe for PositiveCurrency
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more