pub struct DecimalParts { /* private fields */ }Expand description
DecimalParts
Canonical decomposition of a Decimal.
mantissa * 10^-scale reconstructs the represented value, and the mantissa
carries the sign.
Implementations§
Trait Implementations§
Source§impl Clone for DecimalParts
impl Clone for DecimalParts
Source§fn clone(&self) -> DecimalParts
fn clone(&self) -> DecimalParts
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 moreimpl Copy for DecimalParts
Source§impl Debug for DecimalParts
impl Debug for DecimalParts
impl Eq for DecimalParts
Source§impl PartialEq for DecimalParts
impl PartialEq for DecimalParts
impl StructuralPartialEq for DecimalParts
Auto Trait Implementations§
impl Freeze for DecimalParts
impl RefUnwindSafe for DecimalParts
impl Send for DecimalParts
impl Sync for DecimalParts
impl Unpin for DecimalParts
impl UnsafeUnpin for DecimalParts
impl UnwindSafe for DecimalParts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.