pub struct FixedDecimal {
pub value: BigUint,
pub scale: u32,
}Expand description
A fixed-point decimal number representation.
Fields§
§value: BigUint§scale: u32Trait Implementations§
Source§impl Clone for FixedDecimal
impl Clone for FixedDecimal
Source§fn clone(&self) -> FixedDecimal
fn clone(&self) -> FixedDecimal
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 FixedDecimal
impl Debug for FixedDecimal
Source§impl PartialEq for FixedDecimal
impl PartialEq for FixedDecimal
impl StructuralPartialEq for FixedDecimal
Auto Trait Implementations§
impl Freeze for FixedDecimal
impl RefUnwindSafe for FixedDecimal
impl Send for FixedDecimal
impl Sync for FixedDecimal
impl Unpin for FixedDecimal
impl UnwindSafe for FixedDecimal
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